summaryrefslogtreecommitdiff
path: root/content/content_factory.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2011-09-15 22:47:50 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2011-09-15 22:47:50 +0000
commit339bed72725fe901724440939558c5f9817107ed (patch)
treed2c3fda42a53d4d763f5901fd16e597ce065dd2e /content/content_factory.c
parent3d71da088b83c2cc5741dfdc8f619fbf2bba55a2 (diff)
downloadnetsurf-339bed72725fe901724440939558c5f9817107ed.tar.gz
netsurf-339bed72725fe901724440939558c5f9817107ed.tar.bz2
Virtualise content handler finalisation calls. Remove pointless implementations.
svn path=/trunk/netsurf/; revision=12797
Diffstat (limited to 'content/content_factory.c')
-rw-r--r--content/content_factory.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/content/content_factory.c b/content/content_factory.c
index 3f06dc432..8da73337c 100644
--- a/content/content_factory.c
+++ b/content/content_factory.c
@@ -56,6 +56,9 @@ void content_factory_fini(void)
content_handlers = content_handlers->next;
+ if (victim->handler->fini != NULL)
+ victim->handler->fini();
+
lwc_string_unref(victim->mime_type);
free(victim);