Commit 0ed3917a authored by Niels Möller's avatar Niels Möller

* resource.c (do_free_resources): *Never* call lsh_object_free,

except from the gc_sweep function!

Rev: src/resource.c:1.2
parent 90c57553
......@@ -56,7 +56,6 @@ void do_free_resources(struct resource_node *n)
{
struct resource_node *old = n;
lsh_object_free(n->resource);
n = n->next;
lsh_space_free(old);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment