summaryrefslogtreecommitdiff
path: root/libpqpp
diff options
context:
space:
mode:
authorDan Goodliffe <daniel.goodliffe@pressassociation.com>2017-01-03 15:08:13 +0000
committerDan Goodliffe <daniel.goodliffe@pressassociation.com>2017-01-03 15:16:54 +0000
commit801f48c8e70eb07a5e45ab4739b9ccafa41f0390 (patch)
treede09054e3b8d4f743b56d01ef32cdabed7e1f46f /libpqpp
parentRefactor to remove some duplication (diff)
downloadlibdbpp-postgresql-801f48c8e70eb07a5e45ab4739b9ccafa41f0390.tar.bz2
libdbpp-postgresql-801f48c8e70eb07a5e45ab4739b9ccafa41f0390.tar.xz
libdbpp-postgresql-801f48c8e70eb07a5e45ab4739b9ccafa41f0390.zip
Add missing delete showing false memory leak
Diffstat (limited to 'libpqpp')
-rw-r--r--libpqpp/unittests/testpq.cpp1
1 files changed, 1 insertions, 0 deletions
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;
}