implemented non-recursive tralloc_free