free string pointer and set it to NULL*/
| 316 | |
| 317 | /*free string pointer and set it to NULL*/ |
| 318 | static void string_cleanup(char** out) { |
| 319 | lodepng_free(*out); |
| 320 | *out = NULL; |
| 321 | } |
| 322 | |
| 323 | /*also appends null termination character*/ |
| 324 | static char* alloc_string_sized(const char* in, size_t insize) { |
no test coverage detected