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

Function LodePNGText_cleanup

dependency/densecrf/examples/lodepng.cpp:2783–2793  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2781}
2782
2783static 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
2795static unsigned LodePNGText_copy(LodePNGInfo* dest, const LodePNGInfo* source)
2796{

Callers 2

lodepng_clear_textFunction · 0.85
lodepng_info_cleanupFunction · 0.85

Calls 2

string_cleanupFunction · 0.85
lodepng_freeFunction · 0.85

Tested by

no test coverage detected