[683/906] feature: remove double free

This commit is contained in:
Matthew Waters 2013-04-24 12:17:36 +10:00
parent 25955212b8
commit 59ea354253

View file

@ -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