Commit 2ce311a5 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* stricter aout_BufferFree

parent ddd8d745
......@@ -83,7 +83,8 @@ typedef struct aout_alloc_t
#define aout_BufferFree( p_buffer ) \
if ( (p_buffer)->i_alloc_type == AOUT_ALLOC_HEAP ) \
{ \
free( p_buffer ); \
if( p_buffer ) free( p_buffer ); \
p_buffer = NULL; \
}
/*****************************************************************************
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment