From 472aaa236221d5be342787e2199c28b0bec3c7df Mon Sep 17 00:00:00 2001 From: Agent X <44549182+AgentXLP@users.noreply.github.com> Date: Sat, 11 Jan 2025 15:17:48 -0500 Subject: [PATCH] Thanks Peachy Co-Authored-By: PeachyPeach <72323920+PeachyPeachSM64@users.noreply.github.com> --- src/pc/configfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;