summaryrefslogtreecommitdiff
path: root/desktop/netsurf.c
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/netsurf.c')
-rw-r--r--desktop/netsurf.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/desktop/netsurf.c b/desktop/netsurf.c
index fe93818ea..639aa8fcc 100644
--- a/desktop/netsurf.c
+++ b/desktop/netsurf.c
@@ -35,6 +35,7 @@
#include "content/content_factory.h"
#include "content/fetch.h"
#include "content/hlcache.h"
+#include "content/mimesniff.h"
#include "content/urldb.h"
#include "css/css.h"
#include "image/image.h"
@@ -155,6 +156,10 @@ nserror netsurf_init(int *pargc,
if (error != NSERROR_OK)
return error;
+ error = mimesniff_init();
+ if (error != NSERROR_OK)
+ return error;
+
url_init();
setlocale(LC_ALL, "C");
@@ -209,6 +214,8 @@ void netsurf_exit(void)
LOG(("Closing fetches"));
fetch_quit();
+ mimesniff_fini();
+
/* Clean up after content handlers */
textplain_fini();
image_fini();