]>
Commit | Line | Data |
---|---|---|
c6060300 MT |
1 | To: vim_dev@googlegroups.com |
2 | Subject: Patch 7.3.478 | |
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.478 | |
11 | Problem: Memory leak using the ':rv!' command when reading dictionary or | |
12 | list global variables i.e. with 'viminfo' containing !. | |
13 | Solution: Free the typeval. (Dominique Pelle) | |
14 | Files: src/eval.c | |
15 | ||
16 | ||
17 | *** ../vim-7.3.477/src/eval.c 2012-03-23 15:18:20.000000000 +0100 | |
18 | --- src/eval.c 2012-03-23 15:28:42.000000000 +0100 | |
19 | *************** | |
20 | *** 22976,22981 **** | |
21 | --- 22976,22982 ---- | |
22 | { | |
23 | vim_free(tv.vval.v_string); | |
24 | tv = *etv; | |
25 | + vim_free(etv); | |
26 | } | |
27 | } | |
28 | ||
29 | *** ../vim-7.3.477/src/version.c 2012-03-23 15:18:20.000000000 +0100 | |
30 | --- src/version.c 2012-03-23 15:29:22.000000000 +0100 | |
31 | *************** | |
32 | *** 716,717 **** | |
33 | --- 716,719 ---- | |
34 | { /* Add new patch number below this line */ | |
35 | + /**/ | |
36 | + 478, | |
37 | /**/ | |
38 | ||
39 | -- | |
40 | "Marriage is the process of finding out what kind of man your wife | |
41 | would have preferred" | |
42 | ||
43 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
44 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
45 | \\\ an exciting new programming language -- http://www.Zimbu.org /// | |
46 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |