From: Bram Moolenaar Date: Thu, 13 May 2010 14:31:25 +0000 (+0200) Subject: updated for version 7.2.419 X-Git-Tag: v7.2.419 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=103e6efc8488eaafa0e3fdc94b52a38687dbfe5c;p=thirdparty%2Fvim.git 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) --- diff --git a/src/gui_motif.c b/src/gui_motif.c index 9458e4d7d9..1a7e03872c 100644 --- a/src/gui_motif.c +++ b/src/gui_motif.c @@ -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); diff --git a/src/version.c b/src/version.c index f44031f425..345e4c0b18 100644 --- a/src/version.c +++ b/src/version.c @@ -681,6 +681,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 419, /**/ 418, /**/