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@tls.msk.ru>
This commit is contained in:
Michael Tokarev 2012-04-17 20:05:04 +04:00 committed by Alon Levy
parent 197620e43a
commit 351fe52ca7

View File

@ -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);
}