| 2846 | } |
| 2847 | |
| 2848 | static void LodePNGIText_cleanup(LodePNGInfo* info) |
| 2849 | { |
| 2850 | size_t i; |
| 2851 | for(i = 0; i != info->itext_num; ++i) |
| 2852 | { |
| 2853 | string_cleanup(&info->itext_keys[i]); |
| 2854 | string_cleanup(&info->itext_langtags[i]); |
| 2855 | string_cleanup(&info->itext_transkeys[i]); |
| 2856 | string_cleanup(&info->itext_strings[i]); |
| 2857 | } |
| 2858 | lodepng_free(info->itext_keys); |
| 2859 | lodepng_free(info->itext_langtags); |
| 2860 | lodepng_free(info->itext_transkeys); |
| 2861 | lodepng_free(info->itext_strings); |
| 2862 | } |
| 2863 | |
| 2864 | static unsigned LodePNGIText_copy(LodePNGInfo* dest, const LodePNGInfo* source) |
| 2865 | { |
no test coverage detected