From 377188160c3c2dec36240816a44f54a22276c6fe Mon Sep 17 00:00:00 2001 From: "Bradley C. Kuszmaul" <bradley@tokutek.com> Date: Thu, 29 May 2008 17:12:45 +0000 Subject: [PATCH] Probably repairs #880. Addresses #880. git-svn-id: file:///svn/tokudb@4259 c7de825b-a66e-492c-adef-691d508d4ae1 --- newbrt/brt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/newbrt/brt.c b/newbrt/brt.c index 39be1312966..420a345a08e 100644 --- a/newbrt/brt.c +++ b/newbrt/brt.c @@ -1409,7 +1409,7 @@ static int brt_leaf_apply_cmd_once (BRT t, BRTNODE node, BRT_CMD cmd, TOKULOGGER assert(new_le); memcpy(new_le, newdata, newlen); - // This mfree must occur after the mempool_malloc so that + // This mfree must occur after the mempool_malloc so that when the mempool is compressed everything is accounted for. toku_mempool_mfree(&node->u.l.buffer_mempool, 0, leafentry_memsize(le)); // Must pass 0, since le may be no good any more. node->u.l.n_bytes_in_buffer += OMT_ITEM_OVERHEAD + newdisksize; -- 2.30.9