From 350810e3c1d073050f803a1e3e5b7ae616092433 Mon Sep 17 00:00:00 2001 From: Leandro Lisboa Penz Date: Wed, 16 Jun 2010 22:46:47 -0300 Subject: [PATCH] Improved test of pointer argument realloc. --- test/testmemleak.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/test/testmemleak.cpp b/test/testmemleak.cpp index a2bd6ff82..bad02308e 100644 --- a/test/testmemleak.cpp +++ b/test/testmemleak.cpp @@ -1785,6 +1785,7 @@ private: "{\n" " char *tmp = malloc(10);\n" " foo(&tmp);\n" + " foo(&tmp);\n" " free(tmp);\n" "}\n"); ASSERT_EQUALS(std::string(""), errout.str());