From 74fa727509874983884a35b44b646be034b1fd69 Mon Sep 17 00:00:00 2001 From: Richard Wilson Date: Sat, 2 Sep 2006 15:52:41 +0000 Subject: Experimental new frames code. svn path=/trunk/netsurf/; revision=2906 --- content/content.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'content/content.c') diff --git a/content/content.c b/content/content.c index 68c90a7f0..6b8d7b9fe 100644 --- a/content/content.c +++ b/content/content.c @@ -816,7 +816,6 @@ void content_destroy(struct content *c) if (c->type < HANDLER_MAP_COUNT && handler_map[c->type].destroy) handler_map[c->type].destroy(c); - talloc_free(c); } @@ -855,6 +854,7 @@ void content_quit(void) while (content_list && progress) { progress = false; for (c = content_list; c; c = next) { + assert(c->next != c); next = c->next; if (c->user_list->next && -- cgit v1.2.3