updated for version 7.0049
diff --git a/src/menu.c b/src/menu.c
index 17d4371..08a7314 100644
--- a/src/menu.c
+++ b/src/menu.c
@@ -1001,6 +1001,9 @@
vim_free(menu->actext);
#ifdef FEAT_TOOLBAR
vim_free(menu->iconfile);
+# ifdef FEAT_GUI_MOTIF
+ vim_free(menu->xpm_fname);
+# endif
#endif
for (i = 0; i < MENU_MODES; i++)
free_menu_string(menu, i);
diff --git a/src/proto/ex_cmds2.pro b/src/proto/ex_cmds2.pro
index 304bbef..3fa6922 100644
--- a/src/proto/ex_cmds2.pro
+++ b/src/proto/ex_cmds2.pro
@@ -43,6 +43,7 @@
int source_level __ARGS((void *cookie));
int do_source __ARGS((char_u *fname, int check_other, int is_vimrc));
void ex_scriptnames __ARGS((exarg_T *eap));
+int has_scriptname __ARGS((char_u *name));
void scriptnames_slash_adjust __ARGS((void));
char_u *get_scriptname __ARGS((scid_T id));
char *fgets_cr __ARGS((char *s, int n, FILE *stream));