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 | 6e7abd217d022af8e5841cf35ed6634a69ac92af (patch) | |
tree | ac0109f193d72da56b60a16b726a424a9195f1bc /libpqpp | |
parent | Refactor to remove some duplication (diff) | |
download | libdbpp-postgresql-6e7abd217d022af8e5841cf35ed6634a69ac92af.tar.bz2 libdbpp-postgresql-6e7abd217d022af8e5841cf35ed6634a69ac92af.tar.xz libdbpp-postgresql-6e7abd217d022af8e5841cf35ed6634a69ac92af.zip |
Add missing delete showing false memory leak
Diffstat (limited to 'libpqpp')
-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; } |