]> granicus.if.org Git - vim/commitdiff
updated for version 7.0-168 v7.0.168
authorBram Moolenaar <Bram@vim.org>
Tue, 21 Nov 2006 19:57:30 +0000 (19:57 +0000)
committerBram Moolenaar <Bram@vim.org>
Tue, 21 Nov 2006 19:57:30 +0000 (19:57 +0000)
src/memline.c
src/version.c
src/window.c

index 80a870a0edc9edc5b7ac68e2f3e85c74bb058d15..ddaf6de58f873b187c998abaf0a597ade5c5f00d 100644 (file)
@@ -1329,6 +1329,7 @@ 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 (serious_error && called_from_main)
        ml_close(curbuf, TRUE);
index 550137eb0bee5cf78c0200a7662d93d03767db9d..f1095b691c12ef2fc0e744e67546eccc7c8c0457 100644 (file)
@@ -666,6 +666,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    168,
 /**/
     167,
 /**/
index 5f5bb2a0941d77c682bd0d3d4416023b0e7b4007..ee9ef9c0c52477b9e170f0c026eb37c1b720d7f5 100644 (file)
@@ -4273,7 +4273,7 @@ win_alloc_lines(wp)
     win_T      *wp;
 {
     wp->w_lines_valid = 0;
-    wp->w_lines = (wline_T *)alloc((unsigned)(Rows * sizeof(wline_T)));
+    wp->w_lines = (wline_T *)alloc_clear((unsigned)(Rows * sizeof(wline_T)));
     if (wp->w_lines == NULL)
        return FAIL;
     return OK;