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 728418 - matroskamux: Small memory leak
matroskamux: Small memory leak
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
1.2.4
Other All
: Normal normal
: 1.2.5
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-04-17 13:04 UTC by Adrien SCH.
Modified: 2014-05-14 08:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to fix the memory leak of language attribut (619 bytes, patch)
2014-04-17 13:04 UTC, Adrien SCH.
committed Details | Review

Description Adrien SCH. 2014-04-17 13:04:02 UTC
Created attachment 274601 [details] [review]
Patch to fix the memory leak of language attribut

The matroskamux leak the attribut language of the trackcontext.

See attached patch.
Comment 1 Thiago Sousa Santos 2014-05-13 23:09:47 UTC
Dropped the if from the patch (g_free already checks for it) and pushed the patch, thanks!

master:
commit 8ac30d4c260dc9b40be5a84de28b0a0fe68e6a8c
Author: Adrien SCH <adrien.schwartzentruber@gmail.com>
Date:   Thu Apr 17 13:04:00 2014 +0000

    matroskamux: fix the memory leak of language attribute
    
    https://bugzilla.gnome.org/show_bug.cgi?id=728418


1.2:
commit ef6850d2fcb54834a043fed4b9274dc8f2ba5b70
Author: Adrien SCH <adrien.schwartzentruber@gmail.com>
Date:   Thu Apr 17 13:04:00 2014 +0000

    matroskamux: fix the memory leak of language attribute
    
    https://bugzilla.gnome.org/show_bug.cgi?id=728418