[Spice-commits] server/snd_worker.c
Alon Levy
alon at kemper.freedesktop.org
Wed Apr 18 01:30:42 PDT 2012
server/snd_worker.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 351fe52ca741d1e785dece1ab3f860aeb1bfb44f
Author: Michael Tokarev <mjt at tls.msk.ru>
Date: Tue Apr 17 20:05:04 2012 +0400
fix error-path return in snd_set_record_peer()
The error_{1,2} labels in this functions are backwards.
Signed-off-by: Michael Tokarev <mjt at tls.msk.ru>
diff --git a/server/snd_worker.c b/server/snd_worker.c
index 7bdd399..caffe67 100644
--- a/server/snd_worker.c
+++ b/server/snd_worker.c
@@ -1420,10 +1420,10 @@ static void snd_set_record_peer(RedChannel *channel, RedClient *client, RedsStre
snd_record_send(worker->connection);
return;
-error_1:
+error_2:
celt051_decoder_destroy(celt_decoder);
-error_2:
+error_1:
celt051_mode_destroy(celt_mode);
}
More information about the Spice-commits
mailing list