MCPcopy Create free account
hub / github.com/HiLab-git/SimpleCRF / LodePNGIText_cleanup

Function LodePNGIText_cleanup

dependency/densecrf/examples/lodepng.cpp:2848–2862  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2846}
2847
2848static 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
2864static unsigned LodePNGIText_copy(LodePNGInfo* dest, const LodePNGInfo* source)
2865{

Callers 2

lodepng_clear_itextFunction · 0.85
lodepng_info_cleanupFunction · 0.85

Calls 2

string_cleanupFunction · 0.85
lodepng_freeFunction · 0.85

Tested by

no test coverage detected