diff options
author | Bram Moolenaar <Bram@vim.org> | 2007-01-09 13:34:50 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2007-01-09 13:34:50 +0000 |
commit | df88dda91c2f436f4cf2360d27a306efc0087e4f (patch) | |
tree | 768095e434cba17f8aa2fdb77b1fbf1a51d1eccc | |
parent | 201863f75dbe0e5b5a6a7a6ff071581cbc54d3a1 (diff) |
updated for version 7.0-179v7.0.179
-rw-r--r-- | src/memline.c | 7 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/src/memline.c b/src/memline.c index ddaf6de58f..ea7d0e13b2 100644 --- a/src/memline.c +++ b/src/memline.c @@ -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 diff --git a/src/version.c b/src/version.c index 09cbf736bb..e636520e1e 100644 --- a/src/version.c +++ b/src/version.c @@ -667,6 +667,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 179, +/**/ 178, /**/ 177, |