add free to txn_free (from Kevin Burge)

This commit is contained in:
danj 2008-08-25 13:58:47 +00:00
parent abdf7eca07
commit b869f6b33b

1
bdb.c
View file

@ -1616,6 +1616,7 @@ static void txn_free(t_txnh *txn)
rb_ary_delete(txn->env->atxn,txn->self); rb_ary_delete(txn->env->atxn,txn->self);
txn->env=NULL; txn->env=NULL;
} }
if (txn) free(txn);
} }
/* /*