From 801f48c8e70eb07a5e45ab4739b9ccafa41f0390 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 3 Jan 2017 15:08:13 +0000 Subject: Add missing delete showing false memory leak --- libpqpp/unittests/testpq.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'libpqpp/unittests') diff --git a/libpqpp/unittests/testpq.cpp b/libpqpp/unittests/testpq.cpp index 0d8720c..15ea022 100644 --- a/libpqpp/unittests/testpq.cpp +++ b/libpqpp/unittests/testpq.cpp @@ -284,6 +284,7 @@ BOOST_AUTO_TEST_CASE( statementReuse ) assertColumnValueHelper(*select, 0, 16); assertColumnValueHelper(*select, 1, 24); } + delete select; delete ro; } -- cgit v1.2.3