summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@colm.net>2018-05-04 18:54:01 -0400
committerAdrian Thurston <thurston@colm.net>2018-05-04 18:54:01 -0400
commit0be8f4f4a0245fa4659364670d9b073fac9d2210 (patch)
treec442777f04d7bf8dcccac843adb0ae3223f1a939
parentdb6ce4fbd34ac49a5713e0f6178e15bc6dd67dbe (diff)
downloadcolm-0be8f4f4a0245fa4659364670d9b073fac9d2210.tar.gz
don't downref the map in the map list length
-rw-r--r--src/bytecode.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/bytecode.c b/src/bytecode.c
index bb647042..9375364e 100644
--- a/src/bytecode.c
+++ b/src/bytecode.c
@@ -3325,8 +3325,6 @@ again:
long len = map_length( (map_t*)obj );
value_t res = len;
vm_push_value( res );
-
- colm_tree_downref( prg, sp, obj );
break;
}
case IN_GET_MAP_MEM_R: {