]>
Commit | Line | Data |
---|---|---|
5a088057 KK |
1 | To: vim_dev@googlegroups.com |
2 | Subject: Patch 7.3.742 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=UTF-8 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 7.3.742 | |
11 | Problem: Leaking memory when :vimgrep restores the directory. | |
12 | Solution: Free the allocated memory. (Christian Brabandt) | |
13 | Files: src/quickfix.c | |
14 | ||
15 | ||
16 | *** ../vim-7.3.741/src/quickfix.c 2012-11-28 17:41:55.000000000 +0100 | |
17 | --- src/quickfix.c 2012-11-28 22:09:40.000000000 +0100 | |
18 | *************** | |
19 | *** 3515,3520 **** | |
20 | --- 3515,3521 ---- | |
21 | ea.cmdidx = (curwin->w_localdir == NULL) ? CMD_cd : CMD_lcd; | |
22 | ex_cd(&ea); | |
23 | } | |
24 | + vim_free(dirname_now); | |
25 | } | |
26 | } | |
27 | ||
28 | *** ../vim-7.3.741/src/version.c 2012-11-28 19:10:51.000000000 +0100 | |
29 | --- src/version.c 2012-11-28 22:11:50.000000000 +0100 | |
30 | *************** | |
31 | *** 727,728 **** | |
32 | --- 727,730 ---- | |
33 | { /* Add new patch number below this line */ | |
34 | + /**/ | |
35 | + 742, | |
36 | /**/ | |
37 | ||
38 | -- | |
39 | How many light bulbs does it take to change a person? | |
40 | ||
41 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
42 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
43 | \\\ an exciting new programming language -- http://www.Zimbu.org /// | |
44 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |