From 5a22181f59d01abb1c501ecf9580fd721751a62d Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 12 Nov 2008 12:08:45 +0000 Subject: updated for version 7.2-035 --- src/os_unix.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/os_unix.c') 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; } -- cgit v1.2.3