diff options
Diffstat (limited to 'src/mime.c')
-rw-r--r-- | src/mime.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -69,8 +69,8 @@ Mime *file_mimetype(const char *filename) { type = (Mime *)calloc(1, sizeof(Mime)); type->origin = origin; - type->type = strdup(what); - type->charset = strdup(charset); + type->type = what; + type->charset = charset; split_free(output); split_free(parts); |