summaryrefslogtreecommitdiff
path: root/content/content.c
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2019-12-01 17:25:49 +0000
committerDaniel Silverstone <dsilvers@digital-scurf.org>2019-12-01 17:25:49 +0000
commit92caa16cfcd10ecc2024972fbef740fbdbd3254b (patch)
treeb1b34dd22d8ff613ee66c73fdc2ba4ddb7a12abb /content/content.c
parent5063fc838e9933b73bf6c8d2f330e5a8e53d7544 (diff)
downloadnetsurf-92caa16cfcd10ecc2024972fbef740fbdbd3254b.tar.gz
netsurf-92caa16cfcd10ecc2024972fbef740fbdbd3254b.tar.bz2
Add missing unrefs
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Diffstat (limited to 'content/content.c')
-rw-r--r--content/content.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/content/content.c b/content/content.c
index a87be0022..552ee071e 100644
--- a/content/content.c
+++ b/content/content.c
@@ -592,6 +592,7 @@ bool content_saw_insecure_objects(struct hlcache_handle *h)
&match) == lwc_error_ok &&
(match == true))) {
/* No insecurity to find */
+ lwc_string_unref(scheme);
return false;
}
@@ -600,9 +601,11 @@ bool content_saw_insecure_objects(struct hlcache_handle *h)
&match) == lwc_error_ok)
&& (match == false)) {
/* I did see something insecure -- ME! */
+ lwc_string_unref(scheme);
return true;
}
+ lwc_string_unref(scheme);
/* I am supposed to be secure, but was I overridden */
if (urldb_get_cert_permissions(url)) {
/* I was https:// but I was overridden, that's no good */