From 6e7abd217d022af8e5841cf35ed6634a69ac92af Mon Sep 17 00:00:00 2001
From: Dan Goodliffe <daniel.goodliffe@pressassociation.com>
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(+)

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