mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 14:06:23 +00:00
gst/gst.c: Free string.
Original commit message from CVS: * gst/gst.c: (init_post): Free string.
This commit is contained in:
parent
5855b0ef94
commit
0b680571ab
2 changed files with 7 additions and 0 deletions
|
@ -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:
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue