Hi All,<br><br>I am initializing the GStreaming using gst_init (NULL, NULL) API and then deinit the same using gst_deinit () API.<br>I run my binary using valgrind and found that Leak Summary of Valgrind showing lot of <b>possibly lost</b> and <b>still reachable</b> in Gstreamer. Below Sharing the some logs of valgrind:<br>
<br>==31179== 4 bytes in 1 blocks are still reachable in loss record 8 of 1,305<br>==31179== at 0x4005E5E: malloc (vg_replace_malloc.c:236)<br>==31179== by 0x42A60DC: g_malloc (gmem.c:164)<br>==31179== by 0x42BE0FD: g_memdup (gstrfuncs.c:130)<br>
==31179== by 0x4101D16: g_signal_newv (gsignal.c:1620)<br>==31179== by 0x410242B: g_signal_new_valist (gsignal.c:1697)<br>==31179== by 0x41025AB: g_signal_new (gsignal.c:1334)<br>==31179== by 0x403821C: gst_object_class_intern_init (gstobject.c:202)<br>
==31179== by 0x410E955: g_type_class_ref (gtype.c:2212)<br>==31179== by 0x4035533: init_post (gst.c:670)<br>==31179== by 0x42AC3E2: g_option_context_parse (goption.c:1951)<br>==31179== by 0x4034FB1: gst_init_check (gst.c:439)<br>
==31179== by 0x40350E1: gst_init (gst.c:493)<br>==31179==<br>==31179== 4 bytes in 1 blocks are still reachable in loss record 9 of 1,305<br>==31179== at 0x4005E5E: malloc (vg_replace_malloc.c:236)<br>==31179== by 0x42A60DC: g_malloc (gmem.c:164)<br>
==31179== by 0x42BE0FD: g_memdup (gstrfuncs.c:130)<br>==31179== by 0x4101D16: g_signal_newv (gsignal.c:1620)<br>==31179== by 0x410242B: g_signal_new_valist (gsignal.c:1697)<br>==31179== by 0x41025AB: g_signal_new (gsignal.c:1334)<br>
==31179== by 0x4038273: gst_object_class_intern_init (gstobject.c:214)<br>==31179== by 0x410E955: g_type_class_ref (gtype.c:2212)<br>==31179== by 0x4035533: init_post (gst.c:670)<br>==31179== by 0x42AC3E2: g_option_context_parse (goption.c:1951)<br>
==31179== by 0x4034FB1: gst_init_check (gst.c:439)<br>==31179== by 0x40350E1: gst_init (gst.c:493)<br><br>Please suggest me how to remove above given memory leaks.<br><br>Thanks in Advance