Module: wine Branch: master Commit: b3c38d3d340c4b8b7fe92443b0e364f028d6e528 URL: http://source.winehq.org/git/wine.git/?a=commit;h=b3c38d3d340c4b8b7fe92443b0...
Author: Paul Vriens Paul.Vriens.Wine@gmail.com Date: Fri Jan 22 11:33:30 2010 +0100
msvcrtd/tests: Fix a memory leak (Valgrind).
---
dlls/msvcrtd/tests/debug.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/msvcrtd/tests/debug.c b/dlls/msvcrtd/tests/debug.c index 71f6e4c..40fceac 100644 --- a/dlls/msvcrtd/tests/debug.c +++ b/dlls/msvcrtd/tests/debug.c @@ -60,6 +60,7 @@ static void test_new(void)
mem = pMSVCRTD_operator_new_dbg(42, _NORMAL_BLOCK, __FILE__, __LINE__); ok(mem != NULL, "memory not allocated\n"); + HeapFree(GetProcessHeap(), 0, mem); }
/**********************************************************************/