mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Fix the compiled out code too
Has the same double-unlock issue as the previous commit. It also looks like rtp_free_msg() is gone and free() should be used instead.
This commit is contained in:
parent
dbcfc8265e
commit
ce4b01df94
|
@ -151,7 +151,8 @@ void ac_iterate(ACSession *ac)
|
||||||
cs->last_packet_sampling_rate = rc;
|
cs->last_packet_sampling_rate = rc;
|
||||||
} else {
|
} else {
|
||||||
LOGGER_WARNING(ac->log, "Failed to load packet values!");
|
LOGGER_WARNING(ac->log, "Failed to load packet values!");
|
||||||
rtp_free_msg(msg);
|
free(msg);
|
||||||
|
pthread_mutex_lock(ac->queue_mutex);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user