gstregistrybinary: Make it compile with GST_DISABLE_GST_DEBUG.

This commit is contained in:
Peter Kjellerstedt 2009-02-02 14:19:57 +01:00
parent 37a37d0b4d
commit 846d56b865

View 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;
}