engine: zone: ensure memheader_t size is always expected

This commit is contained in:
Alibek Omarov 2025-02-15 09:28:37 +03:00
parent 7fb113f610
commit 75b15696f8

View file

@ -65,6 +65,8 @@ typedef struct memheader_s
// immediately followed by data, which is followed by a MEMHEADER_SENTINEL2 byte
} memheader_t;
STATIC_CHECK_SIZEOF( memheader_t, 24, 40 );
typedef struct mempool_s
{
struct memheader_s *chain; // chain of individual memory allocations