summaryrefslogtreecommitdiff
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
commit50b8369a6b054a5587bb44383b1472be8698c5da (patch)
tree83d7fc56f7d5e1657ff68a210457a763b4fc01f9
parent2d51ede3ad5acbbb565ecd8193e564a1b40fdda8 (diff)
fix extremely unlikely pulse mixer leak
SVN revision: 83145
-rw-r--r--serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/serial.c b/serial.c
index 51a7d56..2a6487f 100644
--- a/serial.c
+++ b/serial.c
@@ -101,10 +101,10 @@ deserialize_sink(Pulse *conn __UNUSED__, Pulse_Tag *tag, Eina_Bool source)
101 Pulse_Sink_Port_Info *pi; 101 Pulse_Sink_Port_Info *pi;
102 102
103 pi = calloc(1, sizeof(Pulse_Sink_Port_Info)); 103 pi = calloc(1, sizeof(Pulse_Sink_Port_Info));
104 sink->ports = eina_list_append(sink->ports, pi);
104 EINA_SAFETY_ON_FALSE_GOTO(untag_string(tag, &pi->name), error); 105 EINA_SAFETY_ON_FALSE_GOTO(untag_string(tag, &pi->name), error);
105 EINA_SAFETY_ON_FALSE_GOTO(untag_string(tag, &pi->description), error); 106 EINA_SAFETY_ON_FALSE_GOTO(untag_string(tag, &pi->description), error);
106 EINA_SAFETY_ON_FALSE_GOTO(untag_uint32(tag, &pi->priority), error); 107 EINA_SAFETY_ON_FALSE_GOTO(untag_uint32(tag, &pi->priority), error);
107 sink->ports = eina_list_append(sink->ports, pi);
108 } 108 }
109 EINA_SAFETY_ON_FALSE_GOTO(untag_string(tag, &sink->active_port), error); 109 EINA_SAFETY_ON_FALSE_GOTO(untag_string(tag, &sink->active_port), error);
110 if (exist) 110 if (exist)