Bram,
I noticed, findfile() leaks memory.

This patch fixes it:
iff --git a/src/eval.c b/src/eval.c
--- a/src/eval.c
+++ b/src/eval.c
@@ -10491,7 +10491,7 @@
     {
        do
        {
-           if (rettv->v_type == VAR_STRING)
+           if (rettv->v_type == VAR_STRING || rettv->v_type == VAR_LIST)
                vim_free(fresult);
            fresult = find_file_in_path_option(first ? fname : NULL,
                                               first ? (int)STRLEN(fname) : 0,


regards,
Christian
-- 
Die eine Hälfte des Lebens ist Glück, die andere ist Disziplin - und
die ist entscheidend, denn ohne Disziplin könnte man mit seinem Glück
nichts anfangen.
                -- Carl Zuckmayer

-- 
-- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui