]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/gstreamer0-10.git/commitdiff
gstregistrybinary: Make it compile with GST_DISABLE_GST_DEBUG.
authorPeter Kjellerstedt <pkj@axis.com>
Mon, 2 Feb 2009 13:19:57 +0000 (14:19 +0100)
committerPeter Kjellerstedt <pkj@axis.com>
Mon, 2 Feb 2009 13:19:57 +0000 (14:19 +0100)
gst/gstregistrybinary.c

index 970a262da42bbb4e57ab101cc83a4791f324691f..5f68b8559263e046da5cc9a5ff61004b05579b1d 100644 (file)
@@ -1164,7 +1164,9 @@ gst_registry_binary_read_cache (GstRegistry * registry, const char *location)
     g_file_get_contents (location, &contents, &size, &err);
     if (err != NULL) {
       GST_INFO ("Unable to read file %s : %s", location, err->message);
+#ifndef GST_DISABLE_GST_DEBUG
       g_timer_destroy (timer);
+#endif
       g_error_free (err);
       return FALSE;
     }