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 619444 - [mpegtsparse] Memory leak in mpegts_packetizer_parse_pmt
[mpegtsparse] Memory leak in mpegts_packetizer_parse_pmt
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: 0.10.19
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-05-23 16:57 UTC by Sebastian Pölsterl
Modified: 2010-05-23 18:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix memory leak (509 bytes, patch)
2010-05-23 16:57 UTC, Sebastian Pölsterl
committed Details | Review

Description Sebastian Pölsterl 2010-05-23 16:57:55 UTC
Created attachment 161805 [details] [review]
Fix memory leak

==8774== 12 bytes in 3 blocks are definitely lost in loss record 488 of 3,681
==8774==    at 0x4C274A8: malloc (vg_replace_malloc.c:236)
==8774==    by 0x7347754: g_malloc (in /lib/libglib-2.0.so.0.2400.1)
==8774==    by 0x7360B48: g_strndup (in /lib/libglib-2.0.so.0.2400.1)
==8774==    by 0xBDE836F: mpegts_packetizer_parse_pmt (mpegtspacketizer.c:601)
==8774==    by 0xBDE2AC0: mpegts_parse_chain (mpegtsparse.c:1142)
==8774==    by 0x5EAC43C: gst_pad_chain_data_unchecked (gstpad.c:4132)
==8774==    by 0x5EACD2D: gst_pad_push_data (gstpad.c:4361)
==8774==    by 0xBBA6828: gst_queue_loop (gstqueue.c:1083)
==8774==    by 0x5ED53E2: gst_task_func (gsttask.c:271)
==8774==    by 0x7369A5E: ??? (in /lib/libglib-2.0.so.0.2400.1)
==8774==    by 0x7367B83: ??? (in /lib/libglib-2.0.so.0.2400.1)
==8774==    by 0x57619C9: start_thread (pthread_creat
Comment 1 Tim-Philipp Müller 2010-05-23 18:21:47 UTC
Committed, thanks:

commit 58b926b97882cef18ae82750571694711adccf7f
Author: Sebastian Pölsterl <sebp@k-d-w.org>
Date:   Sun May 23 19:17:41 2010 +0100

    mpegtspacketizer: fix minor memory leak
    
    Don't leak language code.
    
    Fixes #619444.