From f0e2b21832001c8aea8d70c42b42962374a6fa65 Mon Sep 17 00:00:00 2001 From: d0vgan Date: Wed, 6 Mar 2024 20:16:57 +0200 Subject: [PATCH] more precise tDynamicBuffer_Free --- Source/QSearch/XMemStrFunc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/QSearch/XMemStrFunc.c b/Source/QSearch/XMemStrFunc.c index ee3cc68..11b5bb6 100644 --- a/Source/QSearch/XMemStrFunc.c +++ b/Source/QSearch/XMemStrFunc.c @@ -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)