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 761071 - tests: gstinfo: Fix string memory leak
tests: gstinfo: Fix string memory leak
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal normal
: 1.7.2
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-01-25 03:10 UTC by Vineeth
Modified: 2016-01-25 12:48 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix string leak (755 bytes, patch)
2016-01-25 03:11 UTC, Vineeth
committed Details | Review

Description Vineeth 2016-01-25 03:10:58 UTC
Fix string leak

==13500== 5 bytes in 1 blocks are definitely lost in loss record 38 of 1,472
==13500==    at 0x402C17C: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==13500==    by 0x43C32AF: __vasprintf_chk (vasprintf_chk.c:80)
==13500==    by 0x422B689: g_vasprintf (in /lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
==13500==    by 0x4204FF2: g_strdup_vprintf (in /lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
==13500==    by 0x4205022: g_strdup_printf (in /lib/i386-linux-gnu/libglib-2.0.so.0.4002.0)
==13500==    by 0x804AD00: info_fourcc (gstinfo.c:418)
==13500==    by 0x404FB6A: srunner_run (check_run.c:450)
==13500==    by 0x404FC22: srunner_run_all (check_run.c:674)
==13500==    by 0x4042A57: gst_check_run_suite (gstcheck.c:824)
==13500==    by 0x80492F8: main (gstinfo.c:449)
Comment 1 Vineeth 2016-01-25 03:11:45 UTC
Created attachment 319647 [details] [review]
Fix string leak
Comment 2 Thiago Sousa Santos 2016-01-25 12:47:39 UTC
commit ca97a9882f79bbefd14bd5bcda572c3dab08db32
Author: Vineeth TM <vineeth.tm@samsung.com>
Date:   Mon Jan 25 12:09:54 2016 +0900

    tests:gstinfo: Fix string memory leak
    
    info_fourcc test leaks string.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=761071