diff options
Diffstat (limited to 'src/list.c')
-rw-r--r-- | src/list.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |