Mercurial > vim
diff src/misc1.c @ 5911:81f5a056b2a5 v7.4.297
updated for version 7.4.297
Problem: Memory leak from result of get_isolated_shell_name().
Solution: Free the memory. (Dominique Pelle)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Thu, 22 May 2014 14:00:16 +0200 |
parents | 5cb1828fd005 |
children | ef83b423ebf7 |
line wrap: on
line diff
--- a/src/misc1.c +++ b/src/misc1.c @@ -10874,7 +10874,7 @@ goto_im() } /* - * Returns the isolated name of the shell: + * Returns the isolated name of the shell in allocated memory: * - Skip beyond any path. E.g., "/usr/bin/csh -f" -> "csh -f". * - Remove any argument. E.g., "csh -f" -> "csh". * But don't allow a space in the path, so that this works: