| To: vim-dev@vim.org |
| Subject: Patch 7.2.419 |
| Fcc: outbox |
| From: Bram Moolenaar <Bram@moolenaar.net> |
| Mime-Version: 1.0 |
| Content-Type: text/plain; charset=UTF-8 |
| Content-Transfer-Encoding: 8bit |
| |
| |
| Patch 7.2.419 |
| Problem: Memory leak in Motif when clicking on "Search Vim Help". |
| Solution: Free string returned by XmTextGetString(). (Dominique Pelle) |
| Files: src/gui_motif.c |
| |
| |
| |
| |
| |
| *** 2917,2922 **** |
| --- 2917,2923 ---- |
| *textfield = NUL; |
| else |
| vim_strncpy(textfield, p, IOSIZE - 1); |
| + XtFree((char *)p); |
| } |
| |
| suppress_dialog_mnemonics(dialogform); |
| |
| |
| |
| *** 683,684 **** |
| --- 683,686 ---- |
| { /* Add new patch number below this line */ |
| + /**/ |
| + 419, |
| /**/ |
| |
| -- |
| hundred-and-one symptoms of being an internet addict: |
| 32. You don't know what sex three of your closest friends are, because they |
| have neutral nicknames and you never bothered to ask. |
| |
| /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ |
| /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ |
| \\\ download, build and distribute -- http://www.A-A-P.org /// |
| \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |