diff --git a/source/common/Log.cpp b/source/common/Log.cpp index 0c59aa9..b74be71 100644 --- a/source/common/Log.cpp +++ b/source/common/Log.cpp @@ -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) {