# HG changeset patch # User Christian Brabandt # Date 1492961403 -7200 # Node ID 30af33f4d353e1969563a0c460dd9a3e25885e13 # Parent a4936baa31e36eb94da3d2b423bc57b25bc76559 patch 8.0.0584: memory leak when executing quickfix tests commit https://github.com/vim/vim/commit/d788f6fe89c77262c474de323f5dab6d1c814e27 Author: Bram Moolenaar Date: Sun Apr 23 17:19:43 2017 +0200 patch 8.0.0584: memory leak when executing quickfix tests Problem: Memory leak when executing quickfix tests. Solution: Free the list reference. (Yegappan Lakshmanan) diff --git a/src/quickfix.c b/src/quickfix.c --- a/src/quickfix.c +++ b/src/quickfix.c @@ -4934,6 +4934,9 @@ qf_free_stack(win_T *wp, qf_info_T *qi) * location list */ qf_info_T *new_ll = ll_new_list(); + /* first free the list reference in the location list window */ + ll_free_all(&orig_wp->w_llist_ref); + orig_wp->w_llist_ref = new_ll; if (llwin != NULL) { diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -765,6 +765,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 584, +/**/ 583, /**/ 582,