diff --git a/src/pc/configfile.c b/src/pc/configfile.c index f10f66304..8943b7d9f 100644 --- a/src/pc/configfile.c +++ b/src/pc/configfile.c @@ -382,7 +382,7 @@ static void enable_mod_read(char** tokens, UNUSED int numTokens) { static void enable_mod(char* mod) { struct QueuedFile* queued = malloc(sizeof(struct QueuedFile)); - queued->path = strdup(mod); + queued->path = mod; queued->next = NULL; if (!sQueuedEnableModsHead) { sQueuedEnableModsHead = queued;