[gstreamer-bugs] [Bug 615342] New: [gstalsamixer] leaks
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Sat Apr 10 00:19:20 PDT 2010
https://bugzilla.gnome.org/show_bug.cgi?id=615342
GStreamer | gst-plugins-base | git
Summary: [gstalsamixer] leaks
Classification: Desktop
Product: GStreamer
Version: git
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-base
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: bilboed at gmail.com
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME target: ---
GNOME version: ---
Looks like we are leaking data in gstalsamixer.
==26529== at 0x4C274A8: malloc (vg_replace_malloc.c:236)
==26529== by 0x68D4D51: strdup (strdup.c:43)
==26529== by 0x80C9DD6: ??? (in /usr/lib/libasound.so.2.0.0)
==26529== by 0x80D1AC4: ??? (in /usr/lib/libasound.so.2.0.0)
==26529== by 0x80CE58A: snd_hctl_open (in /usr/lib/libasound.so.2.0.0)
==26529== by 0x80D83FC: snd_mixer_attach (in /usr/lib/libasound.so.2.0.0)
==26529== by 0x7A255E8: gst_alsa_mixer_new (gstalsamixer.c:62)
==26529== by 0x7A2666A: gst_alsa_mixer_element_change_state
(gstalsamixerelement.c:210)
==26529== by 0x5514AFB: gst_element_change_state (gstelement.c:2531)
==26529== by 0x5517C7A: gst_element_set_state_func (gstelement.c:2487)
==26529== by 0x401481: test_alsa_mixer_track (alsa.c:83)
==26529== by 0x504846E: srunner_run_all (check_run.c:372)
==26529== by 0x504353A: gst_check_run_suite (gstcheck.c:556)
==26529== by 0x4013A1: main (alsa.c:134)
This happens on various setups (f12, lucid, karmik).
After googling a bit, it looks like we should call the counterpart of
snd_mixer_attach : snd_mixer_detach(handle, mixer_name);
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the Gstreamer-bugs
mailing list