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 351948356e..4422eef276 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +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 diff --git a/gst/gst.c b/gst/gst.c index a2c8d0aaae..8610a61d94 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);