mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
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:
parent
ccbab93b42
commit
103e6efc84
@ -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,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user