validate: transcoding: fix encoding_profile leak

Reviewed-by: Thibault Saunier <tsaunier@gnome.org>
Differential Revision: https://phabricator.freedesktop.org/D980
This commit is contained in:
Guillaume Desmottes 2016-05-24 14:05:24 +00:00 committed by Thibault Saunier
parent 2c4dcae918
commit 01c2ba564a

View file

@ -976,6 +976,7 @@ exit:
gst_element_set_state (pipeline, GST_STATE_NULL);
g_main_loop_unref (mainloop);
g_clear_object (&encoding_profile);
g_object_unref (pipeline);
g_object_unref (monitor);
g_object_unref (runner);