From 41b884b27387cd4c0ba1d039ea3bb2b7beac21c2 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 14 Nov 2012 22:38:08 +0100 Subject: updated for version 7.3.715 Problem: Crash when calling setloclist() in BufUnload autocmd. (Marcin Szamotulski) Solution: Set w_llist to NULL when it was freed. Also add a test. (Christian Brabandt) --- src/testdir/test49.ok | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/testdir/test49.ok') diff --git a/src/testdir/test49.ok b/src/testdir/test49.ok index 1842af259..0caef818d 100644 --- a/src/testdir/test49.ok +++ b/src/testdir/test49.ok @@ -85,8 +85,10 @@ Results of test49.vim: *** Test 83: OK (2835) *** Test 84: OK (934782101) *** Test 85: OK (198689) ---- Test 86: All tests were run with throwing exceptions on error. +--- Test 86: No Crash for vimgrep on BufUnload +*** Test 86: OK (0) +--- Test 87: All tests were run with throwing exceptions on error. The $VIMNOERRTHROW control is not configured. ---- Test 86: All tests were run with throwing exceptions on interrupt. +--- Test 87: All tests were run with throwing exceptions on interrupt. The $VIMNOINTTHROW control is not configured. -*** Test 86: OK (50443995) +*** Test 87: OK (50443995) -- cgit v1.2.1