aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-02-26 15:48:26 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-02-26 15:48:26 -0300
commitcb9a3684450714945fd2d77a63d687237fdfff24 (patch)
tree8dfbe0f5cb1a5decfef059007395218e56c7bb11 /src/main.c
parent8b94f34cedb85fac0d058e7e678b623a8aac3cd8 (diff)
downloadrneovim-cb9a3684450714945fd2d77a63d687237fdfff24.tar.gz
rneovim-cb9a3684450714945fd2d77a63d687237fdfff24.tar.bz2
rneovim-cb9a3684450714945fd2d77a63d687237fdfff24.zip
Add configuration to help debug memory leaks
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index c5d7d528cf..1c8f336d87 100644
--- a/src/main.c
+++ b/src/main.c
@@ -276,6 +276,7 @@ static char *(main_errors[]) =
* (MSDOS).
* Note that we may use mch_exit() before mch_init()!
*/
+ malloc(10323);
mch_init();
TIME_MSG("shell init");