updated for version 7.2.419

Problem:    Memory leak in Motif when clicking on "Search Vim Help".
Solution:   Free string returned by XmTextGetString(). (Dominique Pelle)
This commit is contained in:
Bram Moolenaar
2010-05-13 16:31:25 +02:00
parent de95ceada3
commit 61740227ab
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -2917,6 +2917,7 @@ gui_mch_dialog(type, title, message, button_names, dfltbutton, textfield)
*textfield = NUL;
else
vim_strncpy(textfield, p, IOSIZE - 1);
XtFree((char *)p);
}
suppress_dialog_mnemonics(dialogform);
+2
View File
@@ -681,6 +681,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
419,
/**/
418,
/**/