]>
Commit | Line | Data |
---|---|---|
d8621708 | 1 | To: vim-dev@vim.org |
2 | Subject: Patch 6.2.029 | |
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 6.2.029 | |
11 | Problem: When using the remote server functionality Vim may leak memory. | |
12 | (Srikanth Sankaran) | |
13 | Solution: Free the result of XListProperties(). | |
14 | Files: src/if_xcmdsrv.c | |
15 | ||
16 | ||
17 | *** ../vim-6.2.028/src/if_xcmdsrv.c Sun Apr 27 14:53:49 2003 | |
18 | --- src/if_xcmdsrv.c Tue Jul 22 22:11:55 2003 | |
19 | *************** | |
20 | *** 538,544 **** | |
21 | --- 538,548 ---- | |
22 | ||
23 | for (i = 0; i < numProp; i++) | |
24 | if (plist[i] == vimProperty) | |
25 | + { | |
26 | + XFree(plist); | |
27 | return TRUE; | |
28 | + } | |
29 | + XFree(plist); | |
30 | return FALSE; | |
31 | } | |
32 | ||
33 | *** ../vim-6.2.028/src/version.c Thu Jul 24 21:50:11 2003 | |
34 | --- src/version.c Thu Jul 24 21:51:35 2003 | |
35 | *************** | |
36 | *** 632,633 **** | |
37 | --- 632,635 ---- | |
38 | { /* Add new patch number below this line */ | |
39 | + /**/ | |
40 | + 29, | |
41 | /**/ | |
42 | ||
43 | -- | |
44 | System administrators are just like women: You can't live with them and you | |
45 | can't live without them. | |
46 | ||
47 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
48 | /// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\ | |
49 | \\\ Project leader for A-A-P -- http://www.A-A-P.org /// | |
50 | \\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html /// |