Commit a33eea0c authored by Edward Hervey's avatar Edward Hervey 🤘
Browse files

gst/gst.c: let's make valgrind happy...

Original commit message from CVS:
* gst/gst.c: (ensure_current_registry_forking):
let's make valgrind happy...
parent 8b23eed2
2006-07-10 Edward Hervey <edward@fluendo.com>
* gst/gst.c: (ensure_current_registry_forking):
let's make valgrind happy...
2006-07-09 Wim Taymans <wim@fluendo.com> 2006-07-09 Wim Taymans <wim@fluendo.com>
   
* gst/gstelement.c: (activate_pads), * gst/gstelement.c: (activate_pads),
......
...@@ -672,6 +672,10 @@ ensure_current_registry_forking (GstRegistry * default_registry, ...@@ -672,6 +672,10 @@ ensure_current_registry_forking (GstRegistry * default_registry,
/* need to use _exit, so that any exit handlers registered don't /* need to use _exit, so that any exit handlers registered don't
* bring down the main program */ * bring down the main program */
GST_DEBUG ("child exiting: %s", (res) ? "SUCCESS" : "FAILURE"); GST_DEBUG ("child exiting: %s", (res) ? "SUCCESS" : "FAILURE");
/* make valgrind happy (yes, you can call it insane) */
g_free ((char *) registry_file);
_exit ((res) ? EXIT_SUCCESS : EXIT_FAILURE); _exit ((res) ? EXIT_SUCCESS : EXIT_FAILURE);
} else { } else {
/* parent */ /* parent */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment