Free a tile returned by stretch_tile */ Do NOT use this with tiles returned by get_tile */
| 257 | /* Free a tile returned by stretch_tile */ |
| 258 | /* Do NOT use this with tiles returned by get_tile */ |
| 259 | void |
| 260 | free_tile(struct TileImage *tile) |
| 261 | { |
| 262 | if (tile != NULL) { |
| 263 | free(tile->indexes); |
| 264 | free(tile->pixels); |
| 265 | free(tile); |
| 266 | } |
| 267 | } |
| 268 | |
| 269 | /* Return the greatest common divisor */ |
| 270 | static unsigned |