summaryrefslogtreecommitdiff
path: root/src/modules/mixer
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2012-12-07 09:41:29 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-12-07 09:41:29 +0000
commit74a7442e32d91f4c8b9fa433d91368097d288376 (patch)
treec163d9ab548a3e3123f326ed2988ee98a6a4355c /src/modules/mixer
parent2c9ccbf6d53c9bbfc2d9fa25d6680ce282bf6934 (diff)
downloadenlightenment-74a7442e32d91f4c8b9fa433d91368097d288376.tar.gz
lets try null out alsa mixer to avoid bad freed internal self usage.
SVN revision: 80425
Diffstat (limited to 'src/modules/mixer')
-rw-r--r--src/modules/mixer/sys_alsa.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/mixer/sys_alsa.c b/src/modules/mixer/sys_alsa.c
index ba916f3351..af122818b2 100644
--- a/src/modules/mixer/sys_alsa.c
+++ b/src/modules/mixer/sys_alsa.c
@@ -124,6 +124,7 @@ _mixer_callback_del(E_Mixer_System *self,
snd_mixer_set_callback_private(self, NULL);
+ memset(desc, 0, sizeof(*desc));
free(desc);
return 1;