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 790899 - dashdemux: fix memory leak
dashdemux: fix memory leak
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: 1.13.x
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-11-27 13:01 UTC by Jun Xie
Modified: 2017-11-30 09:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gst_mpdparser_free_active_stream shall be invoked to free GstActiveStream (1.23 KB, patch)
2017-11-27 13:02 UTC, Jun Xie
committed Details | Review

Description Jun Xie 2017-11-27 13:01:30 UTC
GPtrArray in GstActiveStream is newed in gst_mpdparser_init_active_stream_segments()
GPtrArray in GstActiveStream is leaked in some cases.
gst_mpdparser_free_active_stream shall be invoked to free GstActiveStream
Comment 1 Jun Xie 2017-11-27 13:02:52 UTC
Created attachment 364500 [details] [review]
gst_mpdparser_free_active_stream shall be invoked to free GstActiveStream
Comment 2 Thiago Sousa Santos 2017-11-30 09:22:58 UTC
commit f31e91b7a1adea9cf951591a34eadedb3681e16a
Author: Jun Xie <jun.xie@samsung.com>
Date:   Mon Nov 27 21:27:23 2017 +0800

    dashdemux: fix memory leak
    
    GPtrArray in GstActiveStream is leaked in some cases.
    gst_mpdparser_free_active_stream shall be invoked to free GstActiveStream
    
    https://bugzilla.gnome.org/show_bug.cgi?id=790899