From 5cacbd8f2adb1ebf89cca4b9b16fc58a7aedc4c2 Mon Sep 17 00:00:00 2001 From: vsc Date: Tue, 14 Feb 2006 17:20:49 +0000 Subject: [PATCH] garbage collector might release space still in use. git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1543 b08c6af1-5177-4d33-ba66-4b1c6b8b522a --- C/heapgc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C/heapgc.c b/C/heapgc.c index 4a7d260f8..e0715435f 100644 --- a/C/heapgc.c +++ b/C/heapgc.c @@ -823,7 +823,7 @@ find_ref_in_dbtable(CODEADDR entry) rb_red_blk_node *current = db_root->left; while (current != db_nil) { - if (current->key < entry && current->lim > entry) { + if (current->key <= entry && current->lim > entry) { return current; } if (entry < current->key)