From 3e6eeb87f52e596a5cb3cf727db36ebac3804b56 Mon Sep 17 00:00:00 2001 From: verhaegs Date: Sat, 4 Feb 2012 00:06:48 +0000 Subject: [PATCH] compiler/clib/__exec.c: Fix memory leak. git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@43839 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- compiler/clib/__exec.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/compiler/clib/__exec.c b/compiler/clib/__exec.c index cee1d2b092..8e85c67acf 100644 --- a/compiler/clib/__exec.c +++ b/compiler/clib/__exec.c @@ -70,9 +70,6 @@ APTR __exec_prepare(const char *filename, int searchpath, char *const argv[], ch goto error; } - aroscbase->acb_exec_args = AllocPooled(aroscbase->acb_exec_pool, argssize); - aroscbase->acb_exec_args[0] = '\0'; - /* Search path if asked and no directory separator is present in the file */ if (searchpath && index(filename, '/') == NULL && index(filename, ':') == NULL) { -- 2.11.4.GIT