From 5a8fd3e6880241b4862f50599c2d8c526ba7f7c7 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 20 Mar 2007 10:23:25 +0000 Subject: [PATCH] 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. --- ChangeLog | 5 +++++ gst/gst.c | 2 ++ 2 files changed, 7 insertions(+) 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); -- 2.7.4