free the memory for asprintf
[xonotic/gmqcc.git] / 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;
     }