[gstreamer-bugs] [Bug 322667] [jpegenc] leaks input buffer

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon Nov 28 08:57:21 PST 2005


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=322667
 GStreamer | gst-plugins-good | Ver: 0.9.x

Tim-Philipp Müller changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #55325|0                           |1
        is obsolete|                            |
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
            Summary|JpegEnc memory leaks        |[jpegenc] leaks input buffer
   Target Milestone|HEAD                        |0.9.7



------- Additional Comments From Tim-Philipp Müller  2005-11-28 16:57 -------
Fixed in CVS, incl. miscellaneous other clean-ups:

2005-11-28  Tim-Philipp Müller  <tim at centricular dot net>

        * ext/jpeg/gstjpegenc.c: (gst_jpegenc_resync), (gst_jpegenc_chain),
        (gst_jpegenc_set_property), (gst_jpegenc_get_property),
        (gst_jpegenc_change_state):
          Don't leak input buffer in chain function (fixes #322667); make
          state change function thread-safe; don't repeat the current function
          name in GST_DEBUG statements; use GST_ROUND_UP_* macros; use
          gst_pad_alloc_buffer(); misc. minor cleanups.

(Thanks for the patch; I've committed something very similar, only that you
still need to unref the input buffer if gst_pad_alloc_buffer() returns something
else than GST_FLOW_OK).



------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.




More information about the Gstreamer-bugs mailing list