| 2797 | } |
| 2798 | |
| 2799 | static void LodePNGIText_cleanup(LodePNGInfo* info) |
| 2800 | { |
| 2801 | size_t i; |
| 2802 | for(i = 0; i < info->itext_num; i++) |
| 2803 | { |
| 2804 | string_cleanup(&info->itext_keys[i]); |
| 2805 | string_cleanup(&info->itext_langtags[i]); |
| 2806 | string_cleanup(&info->itext_transkeys[i]); |
| 2807 | string_cleanup(&info->itext_strings[i]); |
| 2808 | } |
| 2809 | lodepng_free(info->itext_keys); |
| 2810 | lodepng_free(info->itext_langtags); |
| 2811 | lodepng_free(info->itext_transkeys); |
| 2812 | lodepng_free(info->itext_strings); |
| 2813 | } |
| 2814 | |
| 2815 | static unsigned LodePNGIText_copy(LodePNGInfo* dest, const LodePNGInfo* source) |
| 2816 | { |
no test coverage detected