From 3976c1ea6c7a299c11fd602eea884e023ecfe63d Mon Sep 17 00:00:00 2001 From: johnstevenson Date: Sat, 29 Mar 2014 17:49:04 +0000 Subject: [PATCH] Frees the orig variable in the path_split function Signed-off-by: johnstevenson --- common/winexec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/common/winexec.c b/common/winexec.c index eda3305..a9373be 100644 --- a/common/winexec.c +++ b/common/winexec.c @@ -73,6 +73,7 @@ static char **path_split(const char *envpath) } while (i < n); path[i] = NULL; + free(orig); return path; } -- 2.11.4.GIT