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 759525 - ivtc: Fix value memory leak
ivtc: Fix value memory leak
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: 1.7.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Reported: 2015-12-16 05:32 UTC by Vineeth
Modified: 2015-12-16 09:01 UTC
See Also:
GNOME target: ---
GNOME version: ---

Fix gvalue memory leak (984 bytes, patch)
2015-12-16 05:33 UTC, Vineeth
committed Details | Review

Description Vineeth 2015-12-16 05:32:39 UTC
Fix memory leak

==23170== 56 bytes in 2 blocks are definitely lost in loss record 1,899 of 2,177
==23170==    at 0x402C17C: malloc (in /usr/lib/valgrind/
==23170==    by 0x421CBE2: g_malloc (in /lib/i386-linux-gnu/
==23170==    by 0x4233281: g_slice_alloc (in /lib/i386-linux-gnu/
==23170==    by 0x41E9219: g_array_sized_new (in /lib/i386-linux-gnu/
==23170==    by 0x41E934F: g_array_new (in /lib/i386-linux-gnu/
==23170==    by 0x40EBF9A: gst_value_init_list_or_array (gstvalue.c:284)
==23170==    by 0x41B1B7D: g_value_reset (in /usr/lib/i386-linux-gnu/
==23170==    by 0x417495A: gst_ivtc_transform_caps (gstivtc.c:172)
==23170==    by 0x616CA1C: gst_base_transform_transform_caps (gstbasetransform.c:536)
==23170==    by 0x6171CFA: gst_base_transform_default_query (gstbasetransform.c:757)
==23170==    by 0x616EF5B: gst_base_transform_query (gstbasetransform.c:1622)
==23170==    by 0x40A97F9: gst_pad_query (gstpad.c:3898)
Comment 1 Vineeth 2015-12-16 05:33:27 UTC
Created attachment 317472 [details] [review]
Fix gvalue memory leak
Comment 2 Sebastian Dröge (slomo) 2015-12-16 09:00:50 UTC
commit 720b9bef05000ca54f4a4fba093e334d2bbb4d2b
Author: Vineeth TM <>
Date:   Wed Dec 16 14:32:20 2015 +0900

    ivtc: Fix value memory leak
    gvalue variable should be unset instead of reset.