1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-30 19:03:16 +03:00

Fix trivial memory leaks in the shell and sqldiff programs.

FossilOrigin-Name: 272793e5edc47e431be77d589718a001f2696869e3e15f1371a1890645a995a7
This commit is contained in:
dan
2020-11-17 21:09:56 +00:00
parent 12c9994659
commit aff1a57f4d
4 changed files with 22 additions and 15 deletions

View File

@ -473,6 +473,7 @@ static void dump_table(const char *zTab, FILE *out){
fprintf(out, "%s;\n", sqlite3_column_text(pStmt,0));
}
sqlite3_finalize(pStmt);
sqlite3_free(zId);
}