From: Dale Weiler Date: Wed, 24 Apr 2013 14:05:09 +0000 (+0000) Subject: free the memory for asprintf X-Git-Tag: before-library~11 X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=commitdiff_plain;h=19c57c03cc8fdc804766136a27d1f6a57548dd5b;hp=a0f6b00a15852c6f13034c9cd3974b62e442696d free the memory for asprintf --- diff --git a/test.c b/test.c index 40bf798..d9a991f 100755 --- 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; }