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 334700 - [qtdemux] Memory leaks
[qtdemux] Memory leaks
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
0.10.1
Other Linux
: Normal normal
: 0.10.3
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-03-15 22:47 UTC by Jens Granseuer
Modified: 2006-03-16 06:36 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Properly unref static templates (1.64 KB, patch)
2006-03-15 22:48 UTC, Jens Granseuer
none Details | Review

Description Jens Granseuer 2006-03-15 22:47:57 UTC
It looks like qtdemux doesn't properly handle creating its pads. The attached patch is an attempt to correct this.
Comment 1 Jens Granseuer 2006-03-15 22:48:50 UTC
Created attachment 61323 [details] [review]
Properly unref static templates
Comment 2 Edward Hervey 2006-03-16 06:36:59 UTC
already fixed in CVS.

2006-03-15  Edward Hervey  <edward@fluendo.com>

        * gst/qtdemux/qtdemux.c: (gst_qtdemux_class_init),
        (gst_qtdemux_init), (gst_qtdemux_dispose),
        (gst_qtdemux_add_stream), (qtdemux_parse_trak):
        Series of memleak fixes:
        - Unref the GstAdapter in finalize.
        - Use gst_pad_new_from_static_template(), shorter and safer.
        - Free unused QtDemuxStream when not used.