summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2003-08-28 19:20:40 +0000
committerJames Bursa <james@netsurf-browser.org>2003-08-28 19:20:40 +0000
commitb444025e2837843c26e7ea015bda91f5184d5aa0 (patch)
treee91b7b02b798316dc350bd5635f189ad4d8a3c0b
parent05891b85d2f0c4674c3e306e337e720b3241e4ff (diff)
downloadnetsurf-b444025e2837843c26e7ea015bda91f5184d5aa0.tar.gz
netsurf-b444025e2837843c26e7ea015bda91f5184d5aa0.tar.bz2
[project @ 2003-08-28 19:20:40 by bursa]
Bug fix. svn path=/import/netsurf/; revision=254
-rw-r--r--content/content.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/content.c b/content/content.c
index af9850145..5615b882d 100644
--- a/content/content.c
+++ b/content/content.c
@@ -145,7 +145,7 @@ void content_set_type(struct content *c, content_type type, char* mime_type)
assert(type < CONTENT_UNKNOWN);
LOG(("content %s, type %i", c->url, type));
c->type = type;
- c->mime_type = strdup(mime_type);
+ c->mime_type = xstrdup(mime_type);
c->status = CONTENT_STATUS_LOADING;
content_broadcast(c, CONTENT_MSG_LOADING, 0);
handler_map[type].create(c);