fix memory leak found by valgrind

This commit is contained in:
Scott Wolchok
2014-04-18 13:45:57 -07:00
parent 8cf26abf24
commit 5498516087

View File

@@ -107,6 +107,7 @@ void free_css_node(css_node_t *node) {
for (int i = 0; i < node->children_count; ++i) {
free_css_node(node->children[i]);
}
free(node->children);
free(node);
}