2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-12-22 10:58:58 +00:00

buffer test: fix memory leak in test code

Forgot to delete a buffer in the test driver. There was no memory leak
or memory error in any installed code.
This commit is contained in:
Jay Berkenbilt 2018-05-05 17:43:44 -04:00
parent 1437f80560
commit b096e99649
2 changed files with 1 additions and 2 deletions

2
TODO
View File

@ -1,8 +1,6 @@
Soon
====
* libtests buffer test fails with address sanitizer.
* Figure out how to render Gajić correctly in the PDF version of the
qpdf manual.

View File

@ -67,6 +67,7 @@ int main()
Pl_Buffer bp3("bp3");
b = bp3.getBuffer();
std::cout << "size: " << b->getSize() << std::endl;
delete b;
}
catch (std::exception& e)
{