From b869f6b33b785070f8027b1d01a82cdf94ebce88 Mon Sep 17 00:00:00 2001 From: danj Date: Mon, 25 Aug 2008 13:58:47 +0000 Subject: [PATCH] add free to txn_free (from Kevin Burge) --- bdb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/bdb.c b/bdb.c index 9e4016a..026bda3 100644 --- a/bdb.c +++ b/bdb.c @@ -1616,6 +1616,7 @@ static void txn_free(t_txnh *txn) rb_ary_delete(txn->env->atxn,txn->self); txn->env=NULL; } + if (txn) free(txn); } /*