[Bug 753087] jpegdec: fix output state memory leak
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Tue Nov 10 03:48:43 PST 2015
https://bugzilla.gnome.org/show_bug.cgi?id=753087
Thiago Sousa Santos <thiagossantos at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
Target Milestone|git master |1.7.1
--- Comment #13 from Thiago Sousa Santos <thiagossantos at gmail.com> ---
commit 7ef9dd37610d1b8e94c7144e546be28674fce148
Author: Vineeth TM <vineeth.tm at samsung.com>
Date: Thu Aug 6 12:44:20 2015 +0900
jpegdec: fix output state memory leak
When jpeg_finish_decompress is called, output state reference is being
created.
But if there is any failures in finishing decompress, it jumps to setjmp,
and at that point state was not referenced. Resulting in leak of output
state.
Hence adding another setjmp after output state is referenced.
Similarly adding another setjmp to unmap the frame in case error happens
before
finish_decompress
https://bugzilla.gnome.org/show_bug.cgi?id=753087
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list