From 02360ec7be6b061513f07638d015da066afef7dc Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sun, 14 Aug 2016 23:49:53 +0100 Subject: add some corestrings API tests and fix corestrings fini. --- utils/corestrings.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'utils/corestrings.c') diff --git a/utils/corestrings.c b/utils/corestrings.c index 38da76d14..0afad9f4a 100644 --- a/utils/corestrings.c +++ b/utils/corestrings.c @@ -570,8 +570,10 @@ void corestrings_fini(void) #undef CSS_DOM_STRING_UNREF /* nsurl URLs */ - if (corestring_nsurl_about_blank != NULL) + if (corestring_nsurl_about_blank != NULL) { nsurl_unref(corestring_nsurl_about_blank); + corestring_nsurl_about_blank = NULL; + } } -- cgit v1.2.3