inspect: fix feature leak

https://bugzilla.gnome.org/show_bug.cgi?id=765957
This commit is contained in:
Guillaume Desmottes 2016-05-02 17:35:29 +02:00 committed by Sebastian Dröge
parent 0ff10ac3ca
commit 4fe32b923f

View file

@ -1561,6 +1561,9 @@ main (int argc, char *argv[])
} else {
exit_code = 1;
}
if (feature)
gst_object_unref (feature);
} else {
/* FIXME: support checking for plugins too */
g_printerr ("Checking for plugins is not supported yet\n");