msvcrt tests: fix memory leak (found by Smatch).
Lionel Debroux
lionel_debroux at yahoo.fr
Sat Oct 20 14:33:34 CDT 2007
---
dlls/msvcrt/tests/string.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/msvcrt/tests/string.c b/dlls/msvcrt/tests/string.c
index 6dabc61..b32a062 100644
--- a/dlls/msvcrt/tests/string.c
+++ b/dlls/msvcrt/tests/string.c
@@ -419,4 +419,5 @@ START_TEST(string)
test_mbsspnp();
/* test _strdup */
test_strdup();
+ free(mem);
}
--
1.5.3.2
--------------000503000805060705070207--
More information about the wine-patches
mailing list