]> granicus.if.org Git - vim/commit
patch 8.0.0707: freeing wrong memory with certain autocommands v8.0.0707
authorBram Moolenaar <Bram@vim.org>
Tue, 11 Jul 2017 16:28:46 +0000 (18:28 +0200)
committerBram Moolenaar <Bram@vim.org>
Tue, 11 Jul 2017 16:28:46 +0000 (18:28 +0200)
commitf1d13478e3a7e1a86d52552c8c5571f00dc28ad1
treeaf45e50787809567c61fe7d1621ec9d17b140e35
parent5a15b6aa0aa5c1559c6f1a9f06c595a8c564637d
patch 8.0.0707: freeing wrong memory with certain autocommands

Problem:    Freeing wrong memory when manipulating buffers in autocommands.
            (James McCoy)
Solution:   Also set the w_s pointer if w_buffer was NULL.
src/ex_cmds.c
src/version.c