]> granicus.if.org Git - vim/commitdiff
patch 7.4.1562 v7.4.1562
authorBram Moolenaar <Bram@vim.org>
Mon, 14 Mar 2016 22:45:35 +0000 (23:45 +0100)
committerBram Moolenaar <Bram@vim.org>
Mon, 14 Mar 2016 22:45:35 +0000 (23:45 +0100)
Problem:    ":helptags ALL" crashes. (Lcd)
Solution:   Don't free twice.

src/ex_cmds.c
src/version.c

index 55b066152f25ba885ede83f6b4705c650bc4bb7f..b7434774af5f920cee957d918525020a1cd27da3 100644 (file)
@@ -6859,7 +6859,6 @@ do_helptags(char_u *dirname, int add_help_tags)
            || filecount == 0)
     {
        EMSG2("E151: No match: %s", NameBuff);
-       vim_free(dirname);
        return;
     }
 
index 501287d9da770b3d053c9a0e2e61c37dd03e1331..a323d2c0f8a232b8a6234ff294433756df795cd1 100644 (file)
@@ -743,6 +743,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1562,
 /**/
     1561,
 /**/