1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-07 02:42:48 +03:00

Fix some more small problems introduced by recent refactoring. (CVS 4235)

FossilOrigin-Name: 5e2795d0eb8ea2a076b3014cfa9096aa7e8f69d7
This commit is contained in:
danielk1977
2007-08-16 11:36:15 +00:00
parent c6cc77d368
commit 31dad9da7e
8 changed files with 37 additions and 34 deletions

View File

@@ -13,7 +13,7 @@
** is not included in the SQLite library. It is used for automated
** testing of the SQLite library.
**
** $Id: test3.c,v 1.77 2007/08/16 10:09:03 danielk1977 Exp $
** $Id: test3.c,v 1.78 2007/08/16 11:36:15 danielk1977 Exp $
*/
#include "sqliteInt.h"
#include "pager.h"
@@ -1058,7 +1058,7 @@ static int btree_data(
rc = sqlite3BtreeData(pCur, 0, n, zBuf);
if( rc ){
Tcl_AppendResult(interp, errorName(rc), 0);
free(zBuf);
sqlite3_free(zBuf);
return TCL_ERROR;
}
zBuf[n] = 0;