validate: media-check: fix double unref in error code path
Writer would get unrefed twice when it could not parse the file. https://bugzilla.gnome.org/show_bug.cgi?id=750606
This commit is contained in:
parent
736ecef382
commit
953db96ede
@ -111,7 +111,6 @@ main (int argc, gchar ** argv)
|
||||
|
||||
if (reference == NULL) {
|
||||
g_print ("Could not parse file: %s", expected_file);
|
||||
gst_object_unref (writer);
|
||||
ret = 1;
|
||||
goto out;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user