tag: fix leak when parsing undefined EXIF tag into tag list
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 2 Nov 2010 12:01:03 +0000 (12:01 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 2 Nov 2010 12:02:23 +0000 (12:02 +0000)
commit3ecb114b61bc0f22445aac84d19db1c9a8678810
treed6872633bce1a2ef34b96f24ef161997fa31033f
parent1c0b90661f91734ec88e9e2492d2a94a4a49a2c5
tag: fix leak when parsing undefined EXIF tag into tag list

gst_buffer_set_data() does not set GST_BUFFER_MALLOCDATA, but
the code assumes the buffer takes ownership of the memory
allocated earlier.
gst-libs/gst/tag/gstexiftag.c