diff options
-rw-r--r-- | git.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -36,6 +36,8 @@ static void prepend_to_path(const char *dir, int len) memcpy(path + len + 1, old_path, path_len - len); setenv("PATH", path, 1); + + free(path); } static int handle_options(const char*** argv, int* argc) |