From 3bf156a8c581b26985f55c4d63e4b7b3badc969e Mon Sep 17 00:00:00 2001 From: Hans Leidekker Date: Tue, 8 Dec 2009 11:43:42 +0100 Subject: [PATCH] setupapi/tests: Fix a memory leak. Found by Valgrind. --- dlls/setupapi/tests/stringtable.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/setupapi/tests/stringtable.c b/dlls/setupapi/tests/stringtable.c index 40e4a54d189..2b7b77a0aa1 100644 --- a/dlls/setupapi/tests/stringtable.c +++ b/dlls/setupapi/tests/stringtable.c @@ -304,6 +304,7 @@ static void test_StringTableLookUpStringEx(void) ok(!memcmp(buffer, &data, 4), "unexpected data\n"); pStringTableDestroy(table); + pStringTableDestroy(table2); } static void test_StringTableStringFromId(void)