]> git.sur5r.net Git - openldap/commitdiff
More for 57b5fbea491c956ed7a4ab7d12d802de2b29455d
authorHoward Chu <hyc@symas.com>
Tue, 4 Sep 2012 13:02:26 +0000 (06:02 -0700)
committerHoward Chu <hyc@symas.com>
Tue, 4 Sep 2012 13:02:26 +0000 (06:02 -0700)
Fix abort of child txn

libraries/libmdb/mdb.c

index 6be21035b70526c425716256e61ae94bd5bc7e50..3b3e046510aad13d7d971f26ab9700e1155a4e06 100644 (file)
@@ -1757,7 +1757,7 @@ mdb_txn_reset0(MDB_txn *txn)
 
                if (txn->mt_parent) {
                        txn->mt_parent->mt_child = NULL;
-                       free(txn->mt_free_pgs);
+                       mdb_midl_free(txn->mt_free_pgs);
                        free(txn->mt_u.dirty_list);
                        return;
                } else {