GNOME Bugzilla – Bug 762111
vaapisink: Fix capsfeature memory leak
Last modified: 2016-02-16 13:13:35 UTC
Fix for below memory leak ==27189== 660 (176 direct, 484 indirect) bytes in 11 blocks are definitely lost in loss record 3,940 of 3,991 ==27189== at 0x402C17C: malloc (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so) ==27189== by 0x421FBE2: g_malloc (in /lib/i386-linux-gnu/libglib-2.0.so.0.4002.0) ==27189== by 0x4236281: g_slice_alloc (in /lib/i386-linux-gnu/libglib-2.0.so.0.4002.0) ==27189== by 0x4075B1B: gst_caps_features_new_empty (gstcapsfeatures.c:165) ==27189== by 0x40766F2: gst_caps_features_new_valist (gstcapsfeatures.c:249) ==27189== by 0x4076776: gst_caps_features_new (gstcapsfeatures.c:223) ==27189== by 0x7E234BB: gst_vaapisink_get_caps_impl (gstvaapisink.c:1215) ==27189== by 0x7E234BB: gst_vaapisink_get_caps (gstvaapisink.c:1245) ==27189== by 0x627AA82: gst_base_sink_query_caps (gstbasesink.c:581) ==27189== by 0x6281733: gst_base_sink_default_query (gstbasesink.c:4961) ==27189== by 0x7E24805: gst_vaapisink_query (gstvaapisink.c:1481) ==27189== by 0x6276861: gst_base_sink_sink_query (gstbasesink.c:5015) ==27189== by 0x40A9F99: gst_pad_query (gstpad.c:3900)
Created attachment 321327 [details] [review] fix caps feature memory leak
commit b54ac96c2791f3744616395ddef8d2e3b6428a7f Author: Vineeth TM <vineeth.tm@samsung.com> Date: Tue Feb 16 08:15:40 2016 +0900 vaapisink: Fix capsfeature memory leak caps feature allocated is not being freeing in some cases https://bugzilla.gnome.org/show_bug.cgi?id=762111