summaryrefslogtreecommitdiff
path: root/web/web_dom.c
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2022-05-16 22:26:38 -0700
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2022-05-16 22:26:38 -0700
commit270dd272f5fd2e9c7e178ba31c561e41d820608a (patch)
treeaa9418a20e6f54faf5dce8c7135edcf789675e33 /web/web_dom.c
parent04b2beaaa2bf38ef9716702413fa4b5fcbc37a2b (diff)
downloaddartboat-270dd272f5fd2e9c7e178ba31c561e41d820608a.tar.gz
dartboat-270dd272f5fd2e9c7e178ba31c561e41d820608a.tar.xz
web: display svg overflow
Diffstat (limited to 'web/web_dom.c')
-rw-r--r--web/web_dom.c3
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);