mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-13 23:22:54 +00:00
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
1 changed files with 0 additions and 1 deletions
|
@ -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…
Reference in a new issue