[683/906] feature: remove double free

This commit is contained in:
Matthew Waters 2013-04-24 12:17:36 +10:00 committed by Tim-Philipp Müller
parent 1a04002052
commit 94d1326a7f

View file

@ -209,9 +209,10 @@ _gst_gl_feature_check (GstGLDisplay * display,
*(void **) ((guint8 *) gst_gl + *(void **) ((guint8 *) gst_gl +
data->functions[func_num].pointer_offset) = func; data->functions[func_num].pointer_offset) = func;
g_free (full_function_name);
} }
g_free (full_function_name);
return TRUE; return TRUE;
/* If the extension isn't found or one of the functions wasn't found /* If the extension isn't found or one of the functions wasn't found