From: unknown Date: Wed, 10 Sep 2014 16:43:27 +0000 (-0700) Subject: add missing unpinpool X-Git-Url: https://pd.if.org/git/?p=btree;a=commitdiff_plain;h=e74194782086ba701c1fc50c0c9c76926165a016 add missing unpinpool --- diff --git a/threadskv5.c b/threadskv5.c index b88554a..da7b9f6 100644 --- a/threadskv5.c +++ b/threadskv5.c @@ -1709,6 +1709,7 @@ BtPageSet right2[1]; bt_putid(right2->page->left, left_page_no); bt_unlockpage (BtLockWrite, right2->latch); bt_unpinlatch (right2->latch); + bt_unpinpool (right2->pool); return 0; } @@ -1718,8 +1719,8 @@ BtPageSet right2[1]; BTERR bt_deletekey (BtDb *bt, unsigned char *key, uint len, uint lvl) { unsigned char lowerfence[BT_keyarray], higherfence[BT_keyarray]; -BtPageSet set[1], right[1], right2[1]; uint slot, idx, found, fence; +BtPageSet set[1], right[1]; unsigned char value[BtId]; BtKey *ptr, *tst; BtVal *val;