diff endianchk.c @ 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 2991e6b52d95
children
line wrap: on
line diff