From f135435f8091e648ce1a246258d1318d581e6eb0 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 28 Nov 2012 22:12:44 +0100 Subject: updated for version 7.3.742 Problem: Leaking memory when :vimgrep restores the directory. Solution: Free the allocated memory. (Christian Brabandt) --- src/quickfix.c | 1 + src/version.c | 2 ++ 2 files changed, 3 insertions(+) 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); } } diff --git a/src/version.c b/src/version.c index a7a656939..4647f960a 100644 --- a/src/version.c +++ b/src/version.c @@ -725,6 +725,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 742, /**/ 741, /**/ -- cgit v1.2.1