equal
deleted
inserted
replaced
1 To: [email protected] |
|
2 Subject: Patch 7.2.419 |
|
3 Fcc: outbox |
|
4 From: Bram Moolenaar <[email protected]> |
|
5 Mime-Version: 1.0 |
|
6 Content-Type: text/plain; charset=UTF-8 |
|
7 Content-Transfer-Encoding: 8bit |
|
8 ------------ |
|
9 |
|
10 Patch 7.2.419 |
|
11 Problem: Memory leak in Motif when clicking on "Search Vim Help". |
|
12 Solution: Free string returned by XmTextGetString(). (Dominique Pelle) |
|
13 Files: src/gui_motif.c |
|
14 |
|
15 |
|
16 *** ../vim-7.2.418/src/gui_motif.c 2009-05-21 23:25:38.000000000 +0200 |
|
17 --- src/gui_motif.c 2010-05-13 16:08:14.000000000 +0200 |
|
18 *************** |
|
19 *** 2917,2922 **** |
|
20 --- 2917,2923 ---- |
|
21 *textfield = NUL; |
|
22 else |
|
23 vim_strncpy(textfield, p, IOSIZE - 1); |
|
24 + XtFree((char *)p); |
|
25 } |
|
26 |
|
27 suppress_dialog_mnemonics(dialogform); |
|
28 *** ../vim-7.2.418/src/version.c 2010-05-13 15:40:23.000000000 +0200 |
|
29 --- src/version.c 2010-05-13 16:09:28.000000000 +0200 |
|
30 *************** |
|
31 *** 683,684 **** |
|
32 --- 683,686 ---- |
|
33 { /* Add new patch number below this line */ |
|
34 + /**/ |
|
35 + 419, |
|
36 /**/ |
|
37 |
|
38 -- |
|
39 hundred-and-one symptoms of being an internet addict: |
|
40 32. You don't know what sex three of your closest friends are, because they |
|
41 have neutral nicknames and you never bothered to ask. |
|
42 |
|
43 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ |
|
44 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ |
|
45 \\\ download, build and distribute -- http://www.A-A-P.org /// |
|
46 \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |
|