tag: id3v2: Make sure that g_free always gets called on the same pointer that was...
authorRené Stadler <mail@renestadler.de>
Sun, 19 Nov 2006 13:41:53 +0000 (13:41 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sun, 14 Aug 2011 23:10:30 +0000 (00:10 +0100)
commit763eea481e95a5a5b9e6fcfc3f1d0b957f9924ec
tree2f09b0ab5658306b38bfcbc27561ed1cb4ea2599
parent07feb53dbdcc4b8da5523a7f7a37941272f038c6
tag: id3v2: Make sure that g_free always gets called on the same pointer that was returned by g_mallo...

Original commit message from CVS:
* gst-libs/gst/tag/id3v2frames.c: (id3demux_id3v2_parse_frame):
Make sure that g_free always gets called on the same pointer that was
returned by g_malloc.  Fixes #376594.
Do not leak memory if decompressed size is wrong.
Remove unneeded check of return value of g_malloc.
Patch by: René Stadler <mail@renestadler.de>
gst-libs/gst/tag/id3v2frames.c