After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 766718 - souphttpsrc: fix buffer leak when flushing
souphttpsrc: fix buffer leak when flushing
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: 1.9.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-05-20 13:52 UTC by Guillaume Desmottes
Modified: 2016-05-20 16:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
souphttpsrc: fix buffer leak when flushing (1011 bytes, patch)
2016-05-20 13:53 UTC, Guillaume Desmottes
committed Details | Review

Description Guillaume Desmottes 2016-05-20 13:52:58 UTC
.
Comment 1 Guillaume Desmottes 2016-05-20 13:53:13 UTC
Created attachment 328259 [details] [review]
souphttpsrc: fix buffer leak when flushing

When early returning in gst_soup_http_src_read_buffer() because the
element is FLUSHING, we need to unmap and unref the buffer which was just created.
Comment 2 Tim-Philipp Müller 2016-05-20 16:45:33 UTC
commit 6fd04b07fca81acf598b1695033bea4e72c32560
Author: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Date:   Fri May 20 16:47:35 2016 +0300

    souphttpsrc: fix buffer leak when flushing
    
    When early returning in gst_soup_http_src_read_buffer() because the
    element is FLUSHING, we need to unmap and unref the buffer which was just created.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=766718