Hi Bram,
here is a patch, that fixes a memory leak in option.c
diff --git a/src/option.c b/src/option.c
--- a/src/option.c
+++ b/src/option.c
@@ -4970,7 +4970,10 @@ do_set(arg, opt_flags)
/* If error detected, print the error message. */
if (errmsg != NULL)
+ {
+ vim_free(saved_origval);
goto skip;
+ }
#if defined(FEAT_AUTOCMD) && defined(FEAT_EVAL)
if (saved_origval != NULL)
{
Best,
Christian
--
Einerlei, was für einen Begriff man mit Gott verbindet, wenn man nur
göttlich, das heißt gut handelt!
-- Johann Wolfgang von Goethe
--
--
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/d/optout.