]> granicus.if.org Git - vim/commitdiff
updated for version 7.0-179 v7.0.179
authorBram Moolenaar <Bram@vim.org>
Tue, 9 Jan 2007 13:34:50 +0000 (13:34 +0000)
committerBram Moolenaar <Bram@vim.org>
Tue, 9 Jan 2007 13:34:50 +0000 (13:34 +0000)
src/memline.c
src/version.c

index ddaf6de58f873b187c998abaf0a597ade5c5f00d..ea7d0e13b28a61d9cb76c837f899157a75beeb74 100644 (file)
@@ -1329,8 +1329,11 @@ theend:
            mf_put(mfp, hp, FALSE, FALSE);
        mf_close(mfp, FALSE);       /* will also vim_free(mfp->mf_fname) */
     }
-    vim_free(buf->b_ml.ml_stack);
-    vim_free(buf);
+    if (buf != NULL)
+    {
+       vim_free(buf->b_ml.ml_stack);
+       vim_free(buf);
+    }
     if (serious_error && called_from_main)
        ml_close(curbuf, TRUE);
 #ifdef FEAT_AUTOCMD
index 09cbf736bb9a109fcf9ff99d045bb28fa1ecd1ac..e636520e1e7d1f385384bf90fbfb757aa4c08ebb 100644 (file)
@@ -666,6 +666,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    179,
 /**/
     178,
 /**/