]>
Commit | Line | Data |
---|---|---|
2c842bf9 ER |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 7.2.002 | |
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.002 | |
11 | Problem: Leaking memory when displaying menus. | |
12 | Solution: Free allocated memory. (Dominique Pelle) | |
13 | Files: src/menu.c | |
14 | ||
15 | ||
16 | *** ../vim-7.2.001/src/menu.c Wed Jun 25 00:19:17 2008 | |
17 | --- src/menu.c Sat Aug 16 05:38:45 2008 | |
18 | *************** | |
19 | *** 1120,1125 **** | |
20 | --- 1120,1126 ---- | |
21 | parent = menu; | |
22 | menu = menu->children; | |
23 | } | |
24 | + vim_free(path_name); | |
25 | ||
26 | /* Now we have found the matching menu, and we list the mappings */ | |
27 | /* Highlight title */ | |
28 | *** ../vim-7.2.001/src/version.c Sun Aug 17 23:01:21 2008 | |
29 | --- src/version.c Sun Aug 17 23:42:53 2008 | |
30 | *************** | |
31 | *** 678,679 **** | |
32 | --- 678,681 ---- | |
33 | { /* Add new patch number below this line */ | |
34 | + /**/ | |
35 | + 2, | |
36 | /**/ | |
37 | ||
38 | -- | |
39 | ARTHUR: You are indeed brave Sir knight, but the fight is mine. | |
40 | BLACK KNIGHT: Had enough? | |
41 | ARTHUR: You stupid bastard. You havn't got any arms left. | |
42 | "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD | |
43 | ||
44 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
45 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
46 | \\\ download, build and distribute -- http://www.A-A-P.org /// | |
47 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |