diff options
author | Bram Moolenaar <Bram@vim.org> | 2012-11-28 22:12:44 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2012-11-28 22:12:44 +0100 |
commit | f135435f8091e648ce1a246258d1318d581e6eb0 (patch) | |
tree | bc4fdfdbaf1e0eac00b5b64f5c56bb4dc03086c8 /src/quickfix.c | |
parent | 2e18a12780b48bf6f1b88aeb5094341d7039a5bc (diff) | |
download | vim-git-f135435f8091e648ce1a246258d1318d581e6eb0.tar.gz |
updated for version 7.3.742v7.3.742
Problem: Leaking memory when :vimgrep restores the directory.
Solution: Free the allocated memory. (Christian Brabandt)
Diffstat (limited to 'src/quickfix.c')
-rw-r--r-- | src/quickfix.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/quickfix.c b/src/quickfix.c index 7dbdb9657..2a485f0ad 100644 --- a/src/quickfix.c +++ b/src/quickfix.c @@ -3515,6 +3515,7 @@ restore_start_dir(dirname_start) ea.cmdidx = (curwin->w_localdir == NULL) ? CMD_cd : CMD_lcd; ex_cd(&ea); } + vim_free(dirname_now); } } |