[project @ 2003-08-28 19:20:40 by bursa]

Bug fix.

svn path=/import/netsurf/; revision=254
This commit is contained in:
James Bursa 2003-08-28 19:20:40 +00:00
parent 05891b85d2
commit b444025e28

View File

@ -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);