IMG_xpm.c
changeset 451 48116d511e5d
parent 443 ee17b8eb58ce
child 453 c0132bb6251a
equal deleted inserted replaced
450:175c0200df0a 451:48116d511e5d
  1141             SDL_RWseek(src, start, RW_SEEK_SET);
  1141             SDL_RWseek(src, start, RW_SEEK_SET);
  1142         if ( image ) {
  1142         if ( image ) {
  1143             SDL_FreeSurface(image);
  1143             SDL_FreeSurface(image);
  1144             image = NULL;
  1144             image = NULL;
  1145         }
  1145         }
  1146         IMG_SetError(error);
  1146         IMG_SetError("%s", error);
  1147     }
  1147     }
  1148     if (keystrings)
  1148     if (keystrings)
  1149         SDL_free(keystrings);
  1149         SDL_free(keystrings);
  1150     free_colorhash(colors);
  1150     free_colorhash(colors);
  1151     if (linebuf)
  1151     if (linebuf)