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

Fix memory type mismatch when compiled with MEMDEBUG.

FossilOrigin-Name: 2c32bd6d4d5da2055633e8fb43ee184f729d8b91
This commit is contained in:
mistachkin
2013-11-09 23:44:02 +00:00
parent 660760f8e6
commit c6efe12d0d
3 changed files with 9 additions and 10 deletions

View File

@@ -829,7 +829,7 @@ void sqlite3KeyInfoUnref(KeyInfo *p){
if( p ){
assert( p->nRef>0 );
p->nRef--;
if( p->nRef==0 ) sqlite3_free(p);
if( p->nRef==0 ) sqlite3DbFree(0, p);
}
}