| 2762 | } |
| 2763 | |
| 2764 | static void LodePNGIText_cleanup(LodePNGInfo* info) |
| 2765 | { |
| 2766 | size_t i; |
| 2767 | for(i = 0; i < info->itext_num; i++) |
| 2768 | { |
| 2769 | string_cleanup(&info->itext_keys[i]); |
| 2770 | string_cleanup(&info->itext_langtags[i]); |
| 2771 | string_cleanup(&info->itext_transkeys[i]); |
| 2772 | string_cleanup(&info->itext_strings[i]); |
| 2773 | } |
| 2774 | lodepng_free(info->itext_keys); |
| 2775 | lodepng_free(info->itext_langtags); |
| 2776 | lodepng_free(info->itext_transkeys); |
| 2777 | lodepng_free(info->itext_strings); |
| 2778 | } |
| 2779 | |
| 2780 | static unsigned LodePNGIText_copy(LodePNGInfo* dest, const LodePNGInfo* source) |
| 2781 | { |
no test coverage detected