]>
Commit | Line | Data |
---|---|---|
4c0a682a AG |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 7.2.155 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=ISO-8859-1 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 7.2.155 | |
11 | Problem: Memory leak in ":function /pat". | |
12 | Solution: Free the memory. (Dominique Pelle) | |
13 | Files: src/eval.c | |
14 | ||
15 | ||
16 | *** ../vim-7.2.154/src/eval.c Wed Apr 22 12:53:31 2009 | |
17 | --- src/eval.c Wed Apr 22 16:04:34 2009 | |
18 | *************** | |
19 | *** 19720,19725 **** | |
20 | --- 19720,19726 ---- | |
21 | list_func_head(fp, FALSE); | |
22 | } | |
23 | } | |
24 | + vim_free(regmatch.regprog); | |
25 | } | |
26 | } | |
27 | if (*p == '/') | |
28 | *** ../vim-7.2.154/src/version.c Wed Apr 22 15:56:27 2009 | |
29 | --- src/version.c Wed Apr 22 16:07:27 2009 | |
30 | *************** | |
31 | *** 678,679 **** | |
32 | --- 678,681 ---- | |
33 | { /* Add new patch number below this line */ | |
34 | + /**/ | |
35 | + 155, | |
36 | /**/ | |
37 | ||
38 | -- | |
39 | Q: How many hardware engineers does it take to change a lightbulb? | |
40 | A: None. We'll fix it in software. | |
41 | ||
42 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
43 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
44 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
45 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |