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 762057 - tests: rtpmux: Fix element memory leak
tests: rtpmux: Fix element memory leak
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: 1.7.2
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-02-15 02:53 UTC by Vineeth
Modified: 2016-02-15 09:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
tests:rtpmux: fix element memory leak (775 bytes, patch)
2016-02-15 02:53 UTC, Vineeth
committed Details | Review

Description Vineeth 2016-02-15 02:53:07 UTC
Fix for below memory leak

==22514== 2,009 (388 direct, 1,621 indirect) bytes in 1 blocks are definitely lost in loss record 1,948 of 1,961
==22514==    at 0x41EEBB1: g_type_create_instance (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.4002.0)
==22514==    by 0x41D18FD: ??? (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.4002.0)
==22514==    by 0x41D38F0: g_object_newv (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.4002.0)
==22514==    by 0x40CBF4B: gst_element_factory_create (gstelementfactory.c:376)
==22514==    by 0x40CC0DF: gst_element_factory_make (gstelementfactory.c:446)
==22514==    by 0x4141461: priv_gst_parse_yyparse (grammar.y:713)
==22514==    by 0x4142991: priv_gst_parse_launch (grammar.y:1075)
==22514==    by 0x4138E7E: gst_parse_launch_full (gstparse.c:325)
==22514==    by 0x40653B1: gst_harness_add_parse (gstharness.c:917)
==22514==    by 0x40659F6: gst_harness_new_parse (gstharness.c:982)
==22514==    by 0x804B068: test_rtpmux_ssrc_downstream_dynamic (rtpmux.c:468)
==22514==    by 0x406DE3A: tcase_run_tfun_fork (check_run.c:450)
==22514==    by 0x406DE3A: srunner_iterate_tcase_tfuns (check_run.c:222)
==22514==    by 0x406DE3A: srunner_run_tcase (check_run.c:362)
==22514==    by 0x406DE3A: srunner_iterate_suites (check_run.c:195)
==22514==    by 0x406DE3A: srunner_run (check_run.c:706)
==22514==    by 0x406DEF2: srunner_run_all (check_run.c:674)
==22514==    by 0x4060BA7: gst_check_run_suite (gstcheck.c:824)
==22514==    by 0x8049B13: main (rtpmux.c:551)
Comment 1 Vineeth 2016-02-15 02:53:49 UTC
Created attachment 321177 [details] [review]
tests:rtpmux: fix element memory leak
Comment 2 Tim-Philipp Müller 2016-02-15 09:57:51 UTC
Pushed, thanks for the patch!

commit 03e40efb656daec310d505101cd6cc5b7171ef56
Author: Vineeth TM <vineeth.tm@samsung.com>
Date:   Mon Feb 15 11:51:46 2016 +0900

    tests: rtpmux: Fix element memory leak
    
    https://bugzilla.gnome.org/show_bug.cgi?id=762057