diff options
Diffstat (limited to 'web/web_dom.c')
-rw-r--r-- | web/web_dom.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/web/web_dom.c b/web/web_dom.c index 6aa50ed..07602f8 100644 --- a/web/web_dom.c +++ b/web/web_dom.c @@ -44,9 +44,8 @@ void dom_elem_free(struct dom_elem *e) free(e->attr_vals[i]); } - for (int i = 0; i < e->n_children; ++i) { + for (int i = 0; i < e->n_children; ++i) dom_elem_free(e->children[i]); - } free(e->ns); free(e->name); |