summaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
Diffstat (limited to 'content')
-rw-r--r--content/fetch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/fetch.c b/content/fetch.c
index 85e6f00f2..a5673a08c 100644
--- a/content/fetch.c
+++ b/content/fetch.c
@@ -558,7 +558,7 @@ bool fetch_process_headers(struct fetch *f)
/* handle HTTP 401 (Authentication errors) */
if (http_code == 401) {
- f->callback(FETCH_AUTH, f->p, xstrdup(f->realm),0);
+ f->callback(FETCH_AUTH, f->p, f->realm,0);
return true;
}