MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / LodePNGText_cleanup

Function LodePNGText_cleanup

src/lodepng.cpp:2699–2709  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2697}
2698
2699static void LodePNGText_cleanup(LodePNGInfo* info)
2700{
2701 size_t i;
2702 for(i = 0; i < info->text_num; i++)
2703 {
2704 string_cleanup(&info->text_keys[i]);
2705 string_cleanup(&info->text_strings[i]);
2706 }
2707 lodepng_free(info->text_keys);
2708 lodepng_free(info->text_strings);
2709}
2710
2711static unsigned LodePNGText_copy(LodePNGInfo* dest, const LodePNGInfo* source)
2712{

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