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

Call sqlite3_free() instead of free() to release a buffer allocated by sqlite3_vmprintf() in test_async.c (test suite bug only). (CVS 3708)

FossilOrigin-Name: b078f09bffee5863d595d281f2ecd14e1c9ec727
This commit is contained in:
danielk1977
2007-03-22 15:20:00 +00:00
parent 13ee81fe96
commit 73375822d4
3 changed files with 9 additions and 9 deletions

View File

@@ -114,7 +114,7 @@ static void asyncTrace(const char *zFormat, ...){
z = sqlite3_vmprintf(zFormat, ap);
va_end(ap);
fprintf(stderr, "[%d] %s", (int)pthread_self(), z);
free(z);
sqlite3_free(z);
}
/*