Skip to content

Commit

Permalink
hunk_allocator: assert on hunk error
Browse files Browse the repository at this point in the history
  • Loading branch information
illwieckz committed Jun 11, 2024
1 parent a1b614e commit 2f8e40f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/engine/client/hunk_allocator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,7 @@ void Hunk_FreeTempMemory( void *buf )

if ( hdr->magic != (int) HUNK_MAGIC )
{
ASSERT( false );
Sys::Error( "Hunk_FreeTempMemory: bad magic" );
}

Expand Down

0 comments on commit 2f8e40f

Please sign in to comment.