gst/gst.c: Fix compilation with registry disabled as spotted by Saur.

Original commit message from CVS:
* gst/gst.c:
Fix compilation with registry disabled as spotted by Saur.
This commit is contained in:
Wim Taymans 2007-03-20 10:23:25 +00:00
parent 2b3ea5e9d8
commit 5a8fd3e688
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2007-03-20 Wim Taymans <wim@fluendo.com>
* gst/gst.c:
Fix compilation with registry disabled as spotted by Saur.
2007-03-20 Wim Taymans <wim@fluendo.com>
Patch by: Olivier Crete <tester at tester dot ca>

View file

@ -1191,9 +1191,11 @@ gst_deinit (void)
g_slist_free (preload_plugins);
preload_plugins = NULL;
#ifndef GST_DISABLE_REGISTRY
g_list_foreach (plugin_paths, (GFunc) g_free, NULL);
g_list_free (plugin_paths);
plugin_paths = NULL;
#endif
clock = gst_system_clock_obtain ();
gst_object_unref (clock);