From 880eb5815547e9144a1f73d72ddaf2ada8b7217d Mon Sep 17 00:00:00 2001 From: csoler Date: Sun, 23 Jul 2017 22:56:27 +0200 Subject: [PATCH] suppressed memory leak in serialisation test code --- tests/unittests/libretroshare/serialiser/support.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/unittests/libretroshare/serialiser/support.h b/tests/unittests/libretroshare/serialiser/support.h index f681d90ad..0b042701c 100644 --- a/tests/unittests/libretroshare/serialiser/support.h +++ b/tests/unittests/libretroshare/serialiser/support.h @@ -173,10 +173,9 @@ template int test_RsItem() EXPECT_TRUE(done2) ; EXPECT_TRUE(sersize2 == sersize); -// displayRawPacket(std::cerr, (void *) buffer, 16 * 8 + sersize2); - + delete output ; delete[] buffer ; - //delete rsfis; + delete rsfis; return 1; }