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 762845 - tests: ghostpad: Fix memory leak
tests: ghostpad: Fix memory leak
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal normal
: 1.7.90
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-02-29 02:08 UTC by Vineeth
Modified: 2016-02-29 07:51 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fix memory leak (776 bytes, patch)
2016-02-29 02:09 UTC, Vineeth
committed Details | Review

Description Vineeth 2016-02-29 02:08:02 UTC
==15824== 580 (292 direct, 288 indirect) bytes in 1 blocks are definitely lost in loss record 1,835 of 1,850
==15824==    at 0x41D0BB1: g_type_create_instance (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.4002.0)
==15824==    by 0x41B38FD: ??? (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.4002.0)
==15824==    by 0x41B5D96: g_object_new_valist (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.4002.0)
==15824==    by 0x41B5FEF: g_object_new (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.4002.0)
==15824==    by 0x40C676D: gst_pad_new_from_template (gstpad.c:854)
==15824==    by 0x4A07B9C: gst_base_src_init (gstbasesrc.c:446)
==15824==    by 0x41D0B05: g_type_create_instance (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.4002.0)
==15824==    by 0x41B38FD: ??? (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.4002.0)
==15824==    by 0x41B58F0: g_object_newv (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.4002.0)
==15824==    by 0x40AE28B: gst_element_factory_create (gstelementfactory.c:376)
==15824==    by 0x40AE41F: gst_element_factory_make (gstelementfactory.c:446)
==15824==    by 0x804A76E: test_activate_src_pull_mode (gstghostpad.c:1241)
==15824==    by 0x404FEFA: tcase_run_tfun_fork (check_run.c:450)
==15824==    by 0x404FEFA: srunner_iterate_tcase_tfuns (check_run.c:222)
==15824==    by 0x404FEFA: srunner_run_tcase (check_run.c:362)
==15824==    by 0x404FEFA: srunner_iterate_suites (check_run.c:195)
==15824==    by 0x404FEFA: srunner_run (check_run.c:706)
==15824==    by 0x404FFB2: srunner_run_all (check_run.c:674)
==15824==    by 0x4042BD7: gst_check_run_suite (gstcheck.c:824)
==15824==    by 0x8049DE1: main (gstghostpad.c:1356)
==15824== 
==15824== 598 (296 direct, 302 indirect) bytes in 1 blocks are definitely lost in loss record 1,836 of 1,850
==15824==    at 0x41D0BB1: g_type_create_instance (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.4002.0)
==15824==    by 0x41B38FD: ??? (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.4002.0)
==15824==    by 0x41B5D96: g_object_new_valist (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.4002.0)
==15824==    by 0x41B5FEF: g_object_new (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.4002.0)
==15824==    by 0x40B4E26: gst_ghost_pad_construct (gstghostpad.c:567)
==15824==    by 0x40B4EBE: gst_ghost_pad_new_full (gstghostpad.c:639)
==15824==    by 0x40B576E: gst_ghost_pad_new (gstghostpad.c:702)
==15824==    by 0x804A7AF: test_activate_src_pull_mode (gstghostpad.c:1245)
==15824==    by 0x404FEFA: tcase_run_tfun_fork (check_run.c:450)
==15824==    by 0x404FEFA: srunner_iterate_tcase_tfuns (check_run.c:222)
==15824==    by 0x404FEFA: srunner_run_tcase (check_run.c:362)
==15824==    by 0x404FEFA: srunner_iterate_suites (check_run.c:195)
==15824==    by 0x404FEFA: srunner_run (check_run.c:706)
==15824==    by 0x404FFB2: srunner_run_all (check_run.c:674)
==15824==    by 0x4042BD7: gst_check_run_suite (gstcheck.c:824)
==15824==    by 0x8049DE1: main (gstghostpad.c:1356)
Comment 1 Vineeth 2016-02-29 02:09:10 UTC
Created attachment 322620 [details] [review]
fix memory leak
Comment 2 Sebastian Dröge (slomo) 2016-02-29 07:50:43 UTC
commit 15e0f6315f737b673f10f7bfcf47d01be89eedc7
Author: Vineeth TM <vineeth.tm@samsung.com>
Date:   Mon Feb 29 11:06:50 2016 +0900

    tests: ghostpad: Fix memory leaks
    
    https://bugzilla.gnome.org/show_bug.cgi?id=762845