Origin: vendor Subject: do not free a static string --- xaos.orig/src/util/png.c +++ xaos/src/util/png.c @@ -192,6 +192,7 @@ #endif } png_write_end(png_ptr, info_ptr); + info_ptr->text = NULL; /* Do not try to free a static string */ png_destroy_write_struct(&png_ptr, &info_ptr); fclose(file); return NULL;