From 66b0ab738c690ec369e38b17de560576a7cd9b5c Mon Sep 17 00:00:00 2001 From: Leif Walsh Date: Wed, 17 Apr 2013 00:00:32 -0400 Subject: [PATCH] [t:4871] fix test-rollinclude to avoid a use-after-free bug git-svn-id: file:///svn/toku/tokudb@43632 c7de825b-a66e-492c-adef-691d508d4ae1 --- src/tests/test-rollinclude.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/test-rollinclude.c b/src/tests/test-rollinclude.c index 9bc4317e725..053adc2cbb9 100644 --- a/src/tests/test-rollinclude.c +++ b/src/tests/test-rollinclude.c @@ -24,7 +24,7 @@ populate(DB_ENV *env, DB *db, int nrows) { } r = txn->commit(txn, 0); assert_zero(r); - r = txn->commit(parent, 0); assert_zero(r); + r = parent->commit(parent, 0); assert_zero(r); } static void