Fix potential invalid free(3) and memory leak from function nbt_open
1 file changed