nleoperation: don't leak srcpad

https://bugzilla.gnome.org/show_bug.cgi?id=755860
This commit is contained in:
Justin Kim 2015-09-30 17:11:20 +09:00 committed by Thibault Saunier
parent 807437f9fe
commit a854658404

View file

@ -769,6 +769,7 @@ nle_operation_hard_cleanup (NleOperation * operation)
GST_ERROR ("Unlinking %" GST_PTR_FORMAT " and %"
GST_PTR_FORMAT, srcpad, sinkpad);
gst_pad_unlink (srcpad, sinkpad);
gst_object_unref (srcpad);
}
g_value_reset (&item);