check: Avoid possible double free

This commit is contained in:
Thibault Saunier 2016-12-16 13:59:51 -03:00
parent f7255f318f
commit 7b3d383971

View file

@ -150,7 +150,6 @@ gst_check_init (int *argc, char **argv[])
else else
g_printerr ("Error initializing: Unknown error!\n"); g_printerr ("Error initializing: Unknown error!\n");
g_clear_error (&err); g_clear_error (&err);
g_option_context_free (ctx);
} }
g_option_context_free (ctx); g_option_context_free (ctx);