shithub: choc

Download patch

ref: f810d5df1d008c6a43057302695ece3d81f6b226
parent: 7646d7372e4d21893f75e1111d86a39a842d9a81
author: Turo Lamminen <turol@iki.fi>
date: Mon Feb 1 10:37:18 EST 2021

Free response file contents

We don't need to keep it around since we don't store pointers to it anymore.

--- a/src/m_argv.c
+++ b/src/m_argv.c
@@ -218,6 +218,8 @@
     myargv = newargv;
     myargc = newargc;
 
+    free(file);
+
 #if 0
     // Disabled - Vanilla Doom does not do this.
     // Display arguments