forked from aniani/vim
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:
@@ -2917,6 +2917,7 @@ gui_mch_dialog(type, title, message, button_names, dfltbutton, textfield)
|
|||||||
*textfield = NUL;
|
*textfield = NUL;
|
||||||
else
|
else
|
||||||
vim_strncpy(textfield, p, IOSIZE - 1);
|
vim_strncpy(textfield, p, IOSIZE - 1);
|
||||||
|
XtFree((char *)p);
|
||||||
}
|
}
|
||||||
|
|
||||||
suppress_dialog_mnemonics(dialogform);
|
suppress_dialog_mnemonics(dialogform);
|
||||||
|
@@ -681,6 +681,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
419,
|
||||||
/**/
|
/**/
|
||||||
418,
|
418,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user