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:
parent
1437f80560
commit
b096e99649
2
TODO
2
TODO
@ -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.
|
||||
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user