systemlist() that added on 7.4.248 make incorrect reference of list.

Below is a patch. Please check and include.

diff -r dd44a527c2bd src/eval.c
--- a/src/eval.c        Sun Apr 06 21:34:04 2014 +0200
+++ b/src/eval.c        Wed Apr 09 19:05:42 2014 +0900
@@ -18356,6 +18356,7 @@
            list_append(list, li);
        }
 
+       ++list->lv_refcount;
        rettv->v_type = VAR_LIST;
        rettv->vval.v_list = list;
        list = NULL;

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui