summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--content/fetchers/about.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/content/fetchers/about.c b/content/fetchers/about.c
index 7ffe52db2..2ce4509ca 100644
--- a/content/fetchers/about.c
+++ b/content/fetchers/about.c
@@ -663,7 +663,8 @@ fetch_about_setup(struct fetch *fetchh,
}
}
- lwc_string_unref(path);
+ if (path != NULL)
+ lwc_string_unref(path);
ctx->fetchh = fetchh;
ctx->url = nsurl_ref(url);