Permalink
Browse files

updated for version 7.2-035

  • Loading branch information...
1 parent a53e716 commit 81a5c6dd4eb19dfcea87a5f17184da904f8b0bc3 vimboss committed Nov 12, 2008
Showing with 8 additions and 5 deletions.
  1. +1 −1 src/gui_x11.c
  2. +1 −1 src/mbyte.c
  3. +1 −1 src/misc2.c
  4. +3 −2 src/os_unix.c
  5. +2 −0 src/version.c
View
@@ -2450,7 +2450,7 @@ find_closest_color(colormap, colorPtr)
*colorPtr = colortable[closest];
}
- free(colortable);
+ vim_free(colortable);
return OK;
}
View
@@ -5384,7 +5384,7 @@ preedit_draw_cbproc(XIC xic, XPointer client_data, XPointer call_data)
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)
{
View
@@ -873,7 +873,7 @@ lalloc(size, message)
/* 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
View
@@ -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;
}
View
@@ -677,6 +677,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 35,
+/**/
34,
/**/
33,

0 comments on commit 81a5c6d

Please sign in to comment.