validate: mishandled pointer criticals

Free glist of criticals

Signed-off-by: Anuj Jaiswal <anuj.jaiswal@samsung.com>

https://bugzilla.gnome.org/show_bug.cgi?id=736313
This commit is contained in:
Anuj Jaiswal 2014-09-29 10:22:55 +05:30 committed by Thiago Santos
parent 17bf802515
commit 83c0453d81

View 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;
}