improper unlocking of mlogqs when writing queued logs
This commit is contained in:
parent
8b48f9f902
commit
b56ac0d75b
@ -257,11 +257,11 @@ static void WriteQueuedLogs(int count) {
|
||||
tmp = logq;
|
||||
logq = logq->next;
|
||||
|
||||
mlogqs.releasewritelock();
|
||||
|
||||
free(tmp->text);
|
||||
free(tmp);
|
||||
}
|
||||
|
||||
mlogqs.releasewritelock();
|
||||
}
|
||||
|
||||
ThreadReturnType LogLoop(void *args) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user