updated for version 7.2-035
diff --git a/src/gui_x11.c b/src/gui_x11.c
index 2842fa0..b56c943 100644
--- a/src/gui_x11.c
+++ b/src/gui_x11.c
@@ -2450,7 +2450,7 @@
*colorPtr = colortable[closest];
}
- free(colortable);
+ vim_free(colortable);
return OK;
}
diff --git a/src/mbyte.c b/src/mbyte.c
index 9235714..134a956 100644
--- a/src/mbyte.c
+++ b/src/mbyte.c
@@ -5384,7 +5384,7 @@
draw_feedback = (char *)alloc(draw_data->chg_first
+ text->length);
else
- draw_feedback = realloc(draw_feedback,
+ draw_feedback = vim_realloc(draw_feedback,
draw_data->chg_first + text->length);
if (draw_feedback != NULL)
{
diff --git a/src/misc2.c b/src/misc2.c
index 10c77a7..4d40ad2 100644
--- a/src/misc2.c
+++ b/src/misc2.c
@@ -873,7 +873,7 @@
/* 3. check for available memory: call mch_avail_mem() */
if (mch_avail_mem(TRUE) < KEEP_ROOM && !releasing)
{
- vim_free((char *)p); /* System is low... no go! */
+ free((char *)p); /* System is low... no go! */
p = NULL;
}
else
diff --git a/src/os_unix.c b/src/os_unix.c
index 1edad60..2191e2e 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -2905,7 +2905,7 @@
* 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 @@
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;
}
diff --git a/src/version.c b/src/version.c
index ace1c18..b104925 100644
--- a/src/version.c
+++ b/src/version.c
@@ -677,6 +677,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 35,
+/**/
34,
/**/
33,