aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2013-01-23 10:12:05 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2013-01-23 10:12:05 +0000
commit8d018a4375bcbe7531279d51fb35a4e7c822460e (patch)
tree6f197fb089767fa1982b438609f2e415b266a4d2
parent69dfb7c74c17edfaaad2edd87251424d14c26ae7 (diff)
downloadenlightenment-8d018a4375bcbe7531279d51fb35a4e7c822460e.tar.gz
enlightenment-8d018a4375bcbe7531279d51fb35a4e7c822460e.tar.xz
enlightenment-8d018a4375bcbe7531279d51fb35a4e7c822460e.zip
fix extremely unlikely pulse mixer leak
SVN revision: 83145
-rw-r--r--src/modules/mixer/serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/mixer/serial.c b/src/modules/mixer/serial.c
index 51a7d568a..2a6487f66 100644
--- a/src/modules/mixer/serial.c
+++ b/src/modules/mixer/serial.c
@@ -101,10 +101,10 @@ deserialize_sink(Pulse *conn __UNUSED__, Pulse_Tag *tag, Eina_Bool source)
Pulse_Sink_Port_Info *pi;
pi = calloc(1, sizeof(Pulse_Sink_Port_Info));
+ sink->ports = eina_list_append(sink->ports, pi);
EINA_SAFETY_ON_FALSE_GOTO(untag_string(tag, &pi->name), error);
EINA_SAFETY_ON_FALSE_GOTO(untag_string(tag, &pi->description), error);
EINA_SAFETY_ON_FALSE_GOTO(untag_uint32(tag, &pi->priority), error);
- sink->ports = eina_list_append(sink->ports, pi);
}
EINA_SAFETY_ON_FALSE_GOTO(untag_string(tag, &sink->active_port), error);
if (exist)