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 139958 - Leak in avidemux
Leak in avidemux
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
0.8.0
Other Linux
: Normal normal
: 0.8.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-04-13 18:59 UTC by Sebastien Cote
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to fix caps leak (438 bytes, patch)
2004-04-13 19:01 UTC, Sebastien Cote
none Details | Review

Description Sebastien Cote 2004-04-13 18:59:15 UTC
Caps are leaked in the avidemux.  They should be freed in gst_avi_demux_reset().

for (i = 0; i < avi->num_streams; i++) {
    g_free (avi->stream[i].strh);
    gst_element_remove_pad (GST_ELEMENT (avi), avi->stream[i].pad);
    gst_caps_free (avi->stream[i].caps);     
  }
Comment 1 Sebastien Cote 2004-04-13 19:01:55 UTC
Created attachment 26628 [details] [review]
Patch to fix caps leak
Comment 2 David Schleef 2004-04-13 21:35:30 UTC
Fixed in CVS, thanks.