don't unref pointer

svn path=/trunk/netsurf/; revision=12452
This commit is contained in:
Chris Young 2011-05-30 21:06:36 +00:00
parent 0c9ca84e42
commit 61138b0133

View File

@ -103,7 +103,6 @@ const char *fetch_filetype(const char *unix_path)
if(ami_mime_from_datatype(dtn, &lwc_mimetype, NULL))
{
strcpy(mimetype, lwc_string_data(lwc_mimetype));
lwc_string_unref(lwc_mimetype);
found = TRUE;
ReleaseDataType(dtn);
}