gstreamer/ext/alsa
Antonio Ospite 3c5aa0a786 alsamidisrc: Fix a memory leak when setting the "ports" property
When setting the "ports" property the value is duplicated but it's not
freed when the elements stops.

Reported by Valgrind (example run with "alsamidisrc ports=128:0"):

  6 bytes in 1 blocks are definitely lost in loss record 30 of 1,911
     at 0x4C2BBEF: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
     by 0x5411528: g_malloc (gmem.c:94)
     by 0x542A9FE: g_strdup (gstrfuncs.c:363)
     by 0x775211E: gst_alsa_midi_src_set_property (gstalsamidisrc.c:284)
     by 0x5184A4D: object_set_property (gobject.c:1439)
     by 0x5184A4D: g_object_setv (gobject.c:2245)
     by 0x51859DD: g_object_set_property (gobject.c:2529)
     by 0x4F0474C: ??? (in /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0.1203.0)
     by 0x4F065C8: ??? (in /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0.1203.0)
     by 0x4F07557: ??? (in /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0.1203.0)
     by 0x4EFE3EE: gst_parse_launch_full (in /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0.1203.0)
     by 0x4EFE673: gst_parse_launchv_full (in /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0.1203.0)

https://bugzilla.gnome.org/show_bug.cgi?id=787683
2017-11-29 21:13:38 -05:00
..
gstalsa.c alsa: Add mapping for PCM F32/F64 formats 2017-05-17 10:33:52 -04:00
gstalsa.h alsasink: Accept MPEG 1 layer 3 version 2.5 2017-05-16 15:37:16 -04:00
gstalsadeviceprobe.c Fix FSF address 2012-11-03 23:05:09 +00:00
gstalsadeviceprobe.h Fix FSF address 2012-11-03 23:05:09 +00:00
gstalsamidisrc.c alsamidisrc: Fix a memory leak when setting the "ports" property 2017-11-29 21:13:38 -05:00
gstalsamidisrc.h midi: add an ALSA MIDI sequencer source 2015-10-01 21:43:21 +02:00
gstalsaplugin.c midi: add an ALSA MIDI sequencer source 2015-10-01 21:43:21 +02:00
gstalsasink.c alsasink: Fix Memory leak in payload not succuss case 2017-09-26 11:18:09 +03:00
gstalsasink.h alsasink: Remove unused hwparam/swparam pointers 2016-07-15 22:51:35 +10:00
gstalsasrc.c alsasrc: Handle newly added GstStateChange values 2017-06-20 09:19:53 -04:00
gstalsasrc.h ext: Fix some compilation errors caused by circular header includes 2012-12-12 17:22:31 +00:00
Makefile.am Remove plugin specific static build option 2017-05-16 13:42:07 -04:00
meson.build Add support for Meson as alternative/parallel build system 2016-08-20 11:09:51 +01:00