rem: TFB_Palette *result = (TFB_Palette*) HMalloc (sizeof (TFB_Palette) * 256);
add: TFB_Palette *result;
context: TFB_DrawCanvas_ExtractPalette (TFB_Canvas canvas){	int i;			TFB_Palette *result = (TFB_Palette*) HMalloc (sizeof (TFB_Palette) * 256);	SDL_Surface *surf = (SDL_Surface *)canvas;	if (!surf->format->palette)	{		return NULL;	}	for (i = 0; i < 256; ++i)	{		result[i].r = surf->format->palette->colors[i].r;		result[i].g = surf->format->palette->colors[i].g;		result[i].b = surf->format->palette->colors[i].b;	}	return result;}