]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Avoid leaking Index.aiRowEst memory if an OOM causes a rollback which deletes
authordrh <drh@noemail.net>
Sat, 4 Oct 2014 00:07:44 +0000 (00:07 +0000)
committerdrh <drh@noemail.net>
Sat, 4 Oct 2014 00:07:44 +0000 (00:07 +0000)
commit75b170b16431b1b38aaf1bf64e29b8de5aec6325
tree9cbbedc8dbaed6ed916b70776c2372b701cd1882
parent0c1a18b2944ef0a3dedfb192a90927dc69b32068
Avoid leaking Index.aiRowEst memory if an OOM causes a rollback which deletes
the index before the aiRowEst deletion code in sqlite3AnalysisLoad() routine
has a chance to run.  Since the aiRowEst now might be deleted from freeIndex()
which does not always have a db pointer, make sure the aiRowEst memory is
not held in lookaside.

FossilOrigin-Name: efd87ba142723ba131fcc985db6eb45c5a3c637b
manifest
manifest.uuid
src/analyze.c
src/build.c