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:
@@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user