free string pointer and set it to NULL*/
| 295 | |
| 296 | /*free string pointer and set it to NULL*/ |
| 297 | static void string_cleanup(char** out) { |
| 298 | lodepng_free(*out); |
| 299 | *out = NULL; |
| 300 | } |
| 301 | |
| 302 | /*also appends null termination character*/ |
| 303 | static char* alloc_string_sized(const char* in, size_t insize) { |
no test coverage detected