diff options
author | Bram Moolenaar <Bram@vim.org> | 2008-11-12 12:08:45 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2008-11-12 12:08:45 +0000 |
commit | 5a22181f59d01abb1c501ecf9580fd721751a62d (patch) | |
tree | e15ede313e8d8bb5859419f3f2cfd7792aeb99b9 /src/os_unix.c | |
parent | 9381ab7761ce309d953f496d573e6944b784a9c7 (diff) | |
download | vim-5a22181f59d01abb1c501ecf9580fd721751a62d.zip |
updated for version 7.2-035
Diffstat (limited to 'src/os_unix.c')
-rw-r--r-- | src/os_unix.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index 1edad601a..2191e2e8f 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -2905,7 +2905,7 @@ mch_early_init() * Ignore any errors. */ #if defined(HAVE_SIGALTSTACK) || defined(HAVE_SIGSTACK) - signal_stack = malloc(SIGSTKSZ); + signal_stack = (char *)alloc(SIGSTKSZ); init_signal_stack(); #endif } @@ -6814,7 +6814,8 @@ xsmp_close() if (xsmp_icefd != -1) { SmcCloseConnection(xsmp.smcconn, 0, NULL); - vim_free(xsmp.clientid); + if (xsmp.clientid != NULL) + free(xsmp.clientid); xsmp.clientid = NULL; xsmp_icefd = -1; } |