From: Wim Taymans Date: Tue, 20 Mar 2007 10:23:25 +0000 (+0000) Subject: gst/gst.c: Fix compilation with registry disabled as spotted by Saur. X-Git-Tag: RELEASE-0_10_13~135 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5a8fd3e6880241b4862f50599c2d8c526ba7f7c7;p=platform%2Fupstream%2Fgstreamer.git 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. --- diff --git a/ChangeLog b/ChangeLog index 3519483..4422eef 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2007-03-20 Wim Taymans + * gst/gst.c: + Fix compilation with registry disabled as spotted by Saur. + +2007-03-20 Wim Taymans + Patch by: Olivier Crete * gst/gstelement.c: (gst_element_sync_state_with_parent): diff --git a/gst/gst.c b/gst/gst.c index a2c8d0a..8610a61 100644 --- a/gst/gst.c +++ b/gst/gst.c @@ -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);