validate: mishandled pointer criticals
authorAnuj Jaiswal <anuj.jaiswal@samsung.com>
Mon, 29 Sep 2014 04:52:55 +0000 (10:22 +0530)
committerThiago Santos <thiagoss@osg.samsung.com>
Thu, 9 Oct 2014 23:38:12 +0000 (20:38 -0300)
Free glist of criticals

Signed-off-by: Anuj Jaiswal <anuj.jaiswal@samsung.com>
https://bugzilla.gnome.org/show_bug.cgi?id=736313

validate/gst/validate/gst-validate-runner.c

index 82e78f2..352ac7f 100644 (file)
@@ -230,7 +230,8 @@ gst_validate_runner_printf (GstValidateRunner * runner)
     g_printerr ("\n");
   }
 
-  g_list_free_full (reports, (GDestroyNotify) gst_validate_report_unref); 
+  g_list_free_full (reports, (GDestroyNotify) gst_validate_report_unref);
   gst_validate_printf (NULL, "Issues found: %u\n", count);
+  g_list_free (criticals);
   return ret;
 }