Original commit message from CVS:
* gst/gst.c:
Fix compilation with registry disabled as spotted by Saur.
+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>
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);