foxygit / doom Log in
commit f810d5df1d008c6a43057302695ece3d81f6b226
Author:     Turo Lamminen <turol@iki.fi>
AuthorDate: Mon Feb 1 15:37:18 2021 +0200
Commit:     Turo Lamminen <turol@iki.fi>
CommitDate: Tue Aug 24 18:11:02 2021 +0300

    Free response file contents

    We don't need to keep it around since we don't store pointers to it anymore.
---
 src/m_argv.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/m_argv.c b/src/m_argv.c
index 6b605e9d..cefdd083 100644
--- a/src/m_argv.c
+++ b/src/m_argv.c
@@ -218,6 +218,8 @@ static void LoadResponseFile(int argv_index, const char *filename)
     myargv = newargv;
     myargc = newargc;

+    free(file);
+
 #if 0
     // Disabled - Vanilla Doom does not do this.
     // Display arguments