]> granicus.if.org Git - vim/commitdiff
updated for version 7.0-172 v7.0.172
authorBram Moolenaar <Bram@vim.org>
Tue, 28 Nov 2006 17:36:37 +0000 (17:36 +0000)
committerBram Moolenaar <Bram@vim.org>
Tue, 28 Nov 2006 17:36:37 +0000 (17:36 +0000)
src/ex_eval.c
src/version.c

index 8714958f05523b8586aef32cf09beb4a778cadc7..441e98dfeb555b43472e653cb8e36964642af00f 100644 (file)
@@ -340,7 +340,7 @@ do_errthrow(cstack, cmdname)
 
     /* If no exception is to be thrown or the conversion should be done after
      * returning to a previous invocation of do_one_cmd(), do nothing. */
-    if (*msg_list == NULL)
+    if (msg_list == NULL || *msg_list == NULL)
        return;
 
     if (throw_exception(*msg_list, ET_ERROR, cmdname) == FAIL)
@@ -2026,8 +2026,11 @@ leave_cleanup(csp)
 
        /* If an error was about to be converted to an exception when
         * enter_cleanup() was called, free the message list. */
-       free_msglist(*msg_list);
-       *msg_list = NULL;
+       if (msg_list != NULL)
+       {
+           free_msglist(*msg_list);
+           *msg_list = NULL;
+       }
     }
 
     /*
index c2f78aa9b5f0ad565b3dd8177358cb5c14d9178f..1bf84d35ba5ef6936ce566d3db72231430b7f0bc 100644 (file)
@@ -666,6 +666,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    172,
 /**/
     171,
 /**/