Skip to content

Commit

Permalink
more precise tDynamicBuffer_Free
Browse files Browse the repository at this point in the history
  • Loading branch information
d0vgan committed Mar 6, 2024
1 parent d2b12fe commit f0e2b21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/QSearch/XMemStrFunc.c
Original file line number Diff line number Diff line change
Expand Up @@ -348,8 +348,8 @@ void tDynamicBuffer_Free(tDynamicBuffer* pBuf)
if ( pBuf->ptr )
{
SysMemFree( pBuf->ptr );
x_zero_mem( pBuf, sizeof(tDynamicBuffer) );
}
x_zero_mem( pBuf, sizeof(tDynamicBuffer) );
}

BOOL tDynamicBuffer_Allocate(tDynamicBuffer* pBuf, UINT_PTR nBytesToAllocate)
Expand Down

0 comments on commit f0e2b21

Please sign in to comment.