mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-01-01 21:43:48 +00:00
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:
parent
197620e43a
commit
351fe52ca7
@ -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);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user