summaryrefslogtreecommitdiff
path: root/content/fetchers/about.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-10-15 09:47:37 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-10-15 09:47:37 +0000
commit8f554bb0e5f76dff0016d682cec6d7f56a6241d3 (patch)
treed1c704862e6ee9da6c6828f322ffb806a5cdb70d /content/fetchers/about.c
parentd3fce3ffc336dfd704e24a32f4ee199dd6081c95 (diff)
downloadnetsurf-8f554bb0e5f76dff0016d682cec6d7f56a6241d3.tar.gz
netsurf-8f554bb0e5f76dff0016d682cec6d7f56a6241d3.tar.bz2
Fix "about:".
svn path=/trunk/netsurf/; revision=13054
Diffstat (limited to 'content/fetchers/about.c')
-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);