Mercurial > hg > th-libs
diff th_network.h @ 719:d51c277bea6b
Set th_ioctx::memAlloc to zero in th_mem_fclose() if memory is freed. This fixes the issue if file is reopened and th_mem_realloc() fails to notice that we have no allocated memory.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 11 Nov 2020 13:35:03 +0200 |
parents | c17a1072974a |
children | 4ca6a3b30fe8 |