changeset 22 | 811c88041c06 |
parent 19 | ebcc49de97d0 |
child 25 | a2d30ea44cbe |
--- a/src/lib/image.c Thu Dec 31 17:01:22 2009 +0200 +++ b/src/lib/image.c Thu Dec 31 17:01:38 2009 +0200 @@ -285,6 +285,9 @@ // signal done if (fclose(tile->out.file)) log_warn_errno("fclose"); + + // cleanup + pt_tile_destroy(tile); } int pt_image_tile_async (struct pt_image *image, const struct pt_tile_info *info, FILE *out)