efn/b_truncate.c

11 lines
163 B
C
Raw Normal View History

2022-04-02 12:46:20 +00:00
void
b_truncate(Row *row) {
Row *n = row->n;
row->n = NULL;
if (n != NULL) {
b_truncate(n);
free(n);
}
}