]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
free the memory for asprintf
authorDale Weiler <killfieldengine@gmail.com>
Wed, 24 Apr 2013 14:05:09 +0000 (14:05 +0000)
committerDale Weiler <killfieldengine@gmail.com>
Wed, 24 Apr 2013 14:05:09 +0000 (14:05 +0000)
test.c

diff --git a/test.c b/test.c
index 40bf79801c412b99167986da53935ed0a2e79107..d9a991fa8e2786cd7e7fd83897f0bc69d91bc115 100755 (executable)
--- a/test.c
+++ b/test.c
@@ -179,6 +179,8 @@ int task_pclose(FILE **handles) {
         handles[1] = fs_file_open(open->name_out, "r");
         handles[2] = fs_file_open(open->name_err, "r");
 
+        mem_d(cmd);
+
         return handles;
     }