From 59ea354253c54e9f79fb836955c9d54100eb7709 Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Wed, 24 Apr 2013 12:17:36 +1000 Subject: [PATCH] [683/906] feature: remove double free --- gst-libs/gst/gl/gstglfeature.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gst-libs/gst/gl/gstglfeature.c b/gst-libs/gst/gl/gstglfeature.c index a7d1db07df..641cc3855d 100644 --- a/gst-libs/gst/gl/gstglfeature.c +++ b/gst-libs/gst/gl/gstglfeature.c @@ -209,9 +209,10 @@ _gst_gl_feature_check (GstGLDisplay * display, *(void **) ((guint8 *) gst_gl + data->functions[func_num].pointer_offset) = func; - g_free (full_function_name); } + g_free (full_function_name); + return TRUE; /* If the extension isn't found or one of the functions wasn't found