]> git.notmuchmail.org Git - notmuch/commit
lib: Fix use-after-free bug.
authorCarl Worth <cworth@cworth.org>
Mon, 20 Sep 2010 22:01:52 +0000 (22:01 +0000)
committerCarl Worth <cworth@cworth.org>
Mon, 20 Sep 2010 22:01:52 +0000 (22:01 +0000)
commit029830c1f130b3780684d056c01a73061090f15f
tree680795fbab53074b1a0228c38ecbe37a3dff727c
parent341e2bd86e4ed934ae23312779e0b4a0e8c8b4d5
lib: Fix use-after-free bug.

Thanks to the new git-based test suite, it's easy to run the whole
test suite in valgrind, (simply "make test OPTIONS="--valgrind"), and
doing so showed this obvious use-after-free bug, (triggered by the
thread-order tests).
lib/database.cc