Permalink
Browse files

patch 8.0.0584: memory leak when executing quickfix tests

Problem:    Memory leak when executing quickfix tests.
Solution:   Free the list reference. (Yegappan Lakshmanan)
  • Loading branch information...
brammool committed Apr 23, 2017
1 parent b11c826 commit d788f6fe89c77262c474de323f5dab6d1c814e27
Showing with 5 additions and 0 deletions.
  1. +3 −0 src/quickfix.c
  2. +2 −0 src/version.c
View
@@ -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)
{
View
@@ -764,6 +764,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
584,
/**/
583,
/**/

0 comments on commit d788f6f

Please sign in to comment.