From 59a4a36fe1f80c22d88549b88e41c63d2fc1fa19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Tue, 1 Sep 2009 19:06:34 +0200 Subject: [PATCH] memory leaks: minor fix for testcase --- test/testmemleak.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/testmemleak.cpp b/test/testmemleak.cpp index c9365b448..131ece1fb 100644 --- a/test/testmemleak.cpp +++ b/test/testmemleak.cpp @@ -531,7 +531,7 @@ private: void findleak() { ASSERT_EQUALS(1, dofindleak("alloc;")); - ASSERT_EQUALS(1, dofindleak("; use; alloc; }")); + ASSERT_EQUALS(1, dofindleak("; use; { alloc; }")); ASSERT_EQUALS(2, dofindleak("alloc;\n return;")); ASSERT_EQUALS(-1, dofindleak("alloc; return use;")); ASSERT_EQUALS(2, dofindleak("alloc;\n callfunc;"));