gst/gst.c: Free string.

Original commit message from CVS:
* gst/gst.c: (init_post):
Free string.
This commit is contained in:
Edward Hervey 2006-06-13 11:17:02 +00:00
parent 5855b0ef94
commit 0b680571ab
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2006-06-13 Edward Hervey <edward@fluendo.com>
* gst/gst.c: (init_post):
Free string.
2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/glib-compat-private.h:

View file

@ -630,6 +630,7 @@ init_post (void)
pid = fork ();
if (pid == -1) {
GST_ERROR ("Failed to fork()");
g_free (registry_file);
return FALSE;
}
@ -695,6 +696,7 @@ init_post (void)
_gst_registry_remove_cache_plugins (default_registry);
#ifdef HAVE_FORK
g_free (registry_file);
/* need to use _exit, so that any exit handlers registered don't
* bring down the main program */
_exit (0);