check: Avoid possible double free
authorThibault Saunier <tsaunier@gnome.org>
Fri, 16 Dec 2016 16:59:51 +0000 (13:59 -0300)
committerThibault Saunier <tsaunier@gnome.org>
Fri, 16 Dec 2016 17:00:18 +0000 (14:00 -0300)
libs/gst/check/gstcheck.c

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