| 2781 | } |
| 2782 | |
| 2783 | static void LodePNGText_cleanup(LodePNGInfo* info) |
| 2784 | { |
| 2785 | size_t i; |
| 2786 | for(i = 0; i != info->text_num; ++i) |
| 2787 | { |
| 2788 | string_cleanup(&info->text_keys[i]); |
| 2789 | string_cleanup(&info->text_strings[i]); |
| 2790 | } |
| 2791 | lodepng_free(info->text_keys); |
| 2792 | lodepng_free(info->text_strings); |
| 2793 | } |
| 2794 | |
| 2795 | static unsigned LodePNGText_copy(LodePNGInfo* dest, const LodePNGInfo* source) |
| 2796 | { |
no test coverage detected