qtmux: Fix memory leak while pushing fragmented data
authorPatricia Muscalu <patricia@axis.com>
Tue, 30 Jul 2019 10:07:18 +0000 (12:07 +0200)
committerSebastian Dröge <slomo@coaxion.net>
Thu, 24 Oct 2019 10:21:11 +0000 (10:21 +0000)
commit203ad39d534e79ad8233418da42779700dc56e59
treef534984103199b0edef16f41d580317fc2f52bdc
parent8e1c224fbc217d43f5b34cf63b3883c871dcecf2
qtmux: Fix memory leak while pushing fragmented data

The memory leak occurs in the case when the buffer has been
added to the fragment_buffers array of the current pad and
never been sent because of the push failure of the previous
buffers: moof or mdat header or fragmented buffer(s).
gst/isomp4/gstqtmux.c
gst/isomp4/gstqtmux.h