qtmux: Fix sample memory leak

When getting sample from taglist, the memory should be freed after
using it.

https://bugzilla.gnome.org/show_bug.cgi?id=756068
This commit is contained in:
Vineeth TM 2015-10-05 11:03:38 +09:00 committed by Sebastian Dröge
parent 15b08e0bd5
commit d7a80be3c7

View file

@ -1414,6 +1414,7 @@ gst_qt_mux_add_metadata_tags (GstQTMux * qtmux, const GstTagList * list,
}
gst_buffer_unmap (buf, &map);
}
gst_sample_unref (sample);
}
}