From b444025e2837843c26e7ea015bda91f5184d5aa0 Mon Sep 17 00:00:00 2001 From: James Bursa Date: Thu, 28 Aug 2003 19:20:40 +0000 Subject: [project @ 2003-08-28 19:20:40 by bursa] Bug fix. svn path=/import/netsurf/; revision=254 --- content/content.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'content/content.c') 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); -- cgit v1.2.3