summaryrefslogtreecommitdiff
path: root/src/list.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/list.c')
-rw-r--r--src/list.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/list.c b/src/list.c
index fa61d158..732c2d40 100644
--- a/src/list.c
+++ b/src/list.c
@@ -89,7 +89,7 @@ value_t colm_vlist_detach_tail( struct colm_program *prg, list_t *list )
value_t val = colm_struct_get_field( s, value_t, 0 );
if ( list->genericInfo->valueType == TYPE_TREE )
- treeUpref( (tree_t*)val );
+ colm_tree_upref( (tree_t*)val );
return val;
}
@@ -105,7 +105,7 @@ value_t colm_vlist_detach_head( struct colm_program *prg, list_t *list )
value_t val = colm_struct_get_field( s, value_t, 0 );
if ( list->genericInfo->valueType == TYPE_TREE )
- treeUpref( (tree_t*) val );
+ colm_tree_upref( (tree_t*) val );
return val;
}