From 0bb4fafd301ecf958ead7e914e69c29589697cc8 Mon Sep 17 00:00:00 2001 From: Vincent Penquerc'h Date: Sat, 9 Oct 2010 14:18:44 +0100 Subject: [PATCH] registry: g_mapped_file_unref exists already since GLib 2.21.3 --- gst/gstregistrybinary.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/gstregistrybinary.c b/gst/gstregistrybinary.c index eb277c5cf7..690d6c4353 100644 --- a/gst/gstregistrybinary.c +++ b/gst/gstregistrybinary.c @@ -611,7 +611,7 @@ Error: g_timer_destroy (timer); #endif if (mapped) { -#if GLIB_CHECK_VERSION(2,22,0) +#if GLIB_CHECK_VERSION(2,21,3) g_mapped_file_unref (mapped); #else g_mapped_file_free (mapped);