summaryrefslogtreecommitdiff
path: root/src/modules/mixer
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2012-12-19 09:41:59 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2012-12-19 09:41:59 +0000
commitb49ee6c857e00464cceb849a5cf9fddd91cb82ee (patch)
treedfea5452f40561463fb05aea3da3387d78360ef8 /src/modules/mixer
parent91aad688296d40b5d7b4cfd893eab1ce31d0036b (diff)
downloadenlightenment-b49ee6c857e00464cceb849a5cf9fddd91cb82ee.tar.gz
I suppose we probably shouldn't leak pulse mixer sources after getting them
SVN revision: 81337
Diffstat (limited to 'src/modules/mixer')
-rw-r--r--src/modules/mixer/sys_pulse.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/mixer/sys_pulse.c b/src/modules/mixer/sys_pulse.c
index 10a59541d7..57f161c3f9 100644
--- a/src/modules/mixer/sys_pulse.c
+++ b/src/modules/mixer/sys_pulse.c
@@ -167,8 +167,10 @@ _pulse_sinks_get(Pulse *p __UNUSED__, Pulse_Tag_Id id __UNUSED__, Eina_List *ev)
}
static void
-_pulse_sources_get(Pulse *p __UNUSED__, Pulse_Tag_Id id __UNUSED__, Eina_List *ev __UNUSED__)
+_pulse_sources_get(Pulse *p __UNUSED__, Pulse_Tag_Id id __UNUSED__, Eina_List *ev)
{
+ eina_list_free(sources);
+ sources = ev;
/*
Eina_List *l;
Pulse_Sink *sink;