stdpaths,main: Remove all remaining memory leaks

This commit is contained in:
ZyX
2015-10-17 15:32:11 +03:00
parent 0a59c969cc
commit 502a20a8fe
3 changed files with 52 additions and 11 deletions

View File

@@ -1895,6 +1895,7 @@ static void source_startup_scripts(mparm_T *parmp)
(void)do_source((char_u *)EXRC_FILE, FALSE, DOSO_NONE);
}
}
xfree(user_vimrc);
if (secure == 2)
need_wait_return = TRUE;
secure = 0;