1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-12 13:01:09 +03:00

Fix a memory leak in test_async.c. (CVS 3085)

FossilOrigin-Name: 904ffa4dfb60e00b01db17049de2f4934537f3d8
This commit is contained in:
drh
2006-02-13 13:23:57 +00:00
parent 8c08e86187
commit 5c32354cb7
3 changed files with 8 additions and 7 deletions

View File

@@ -932,6 +932,7 @@ static void *asyncWriterThread(void *NotUsed){
}
async.pQueueFirst = p->pNext;
}
sqlite3OsFree(p);
assert( holdingMutex );
/* Drop the queue mutex before continuing to the next write operation