Hi Dominique!

On Mi, 28 Nov 2012, Dominique Pellé wrote:

> Christian Brabandt wrote:
> 
> > Huh, that was fast. I haven't gotten the time to check the valgrind
> > question yet, that came up in that thread (I don't particular know
> > valgrind very well)
> ...snip...
> 
> Hi Christian
> 
> Here are some notes which I wrote for debugging Vim with Valgrind.
> Perhaps that's useful?
> 
>   http://dominique.pelle.free.fr/valgrind.txt

Thanks, that is useful.

BTW, I already found one memory leak:
diff --git a/src/quickfix.c b/src/quickfix.c
--- a/src/quickfix.c
+++ b/src/quickfix.c
@@ -3515,6 +3515,7 @@
            ea.cmdidx = (curwin->w_localdir == NULL) ? CMD_cd : CMD_lcd;
            ex_cd(&ea);
        }
+       vim_free(dirname_now);
     }
 }


> 
> Thanks by the way for the large number of bugs that you fixed in Vim.

Oh, I am just trying to practice my C skills (which got rusty before 
contributing here). I've never known how much fun it is to contribute to 
an Open Source project.

regards,
Christian
-- 

-- 
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

Raspunde prin e-mail lui