diff options
author | Dan Goodliffe <daniel.goodliffe@pressassociation.com> | 2017-01-03 15:08:13 +0000 |
---|---|---|
committer | Dan Goodliffe <daniel.goodliffe@pressassociation.com> | 2017-01-03 15:16:54 +0000 |
commit | 801f48c8e70eb07a5e45ab4739b9ccafa41f0390 (patch) | |
tree | de09054e3b8d4f743b56d01ef32cdabed7e1f46f /libpqpp/unittests | |
parent | Refactor to remove some duplication (diff) | |
download | libdbpp-postgresql-801f48c8e70eb07a5e45ab4739b9ccafa41f0390.tar.bz2 libdbpp-postgresql-801f48c8e70eb07a5e45ab4739b9ccafa41f0390.tar.xz libdbpp-postgresql-801f48c8e70eb07a5e45ab4739b9ccafa41f0390.zip |
Add missing delete showing false memory leak
Diffstat (limited to 'libpqpp/unittests')
-rw-r--r-- | libpqpp/unittests/testpq.cpp | 1 |
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; } |