I have files a bug with a patch that adds a poppler.Document.release()
that will solve this issue, hopefully it will get in poppler-0.12,
valgrind shows no complaints

==6750== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 1248 from 9)
==6750== malloc/free: in use at exit: 3,470,220 bytes in 11,812 blocks.
==6750== malloc/free: 54,593 allocs, 42,781 frees, 9,141,246 bytes allocated.
==6750== For counts of detected errors, rerun with: -v
==6750== searching for pointers to 11,812 not-freed blocks.
==6750== checked 3,999,188 bytes.
==6750== 
==6750== LEAK SUMMARY:
==6750==    definitely lost: 452 bytes in 15 blocks.
==6750==      possibly lost: 43,208 bytes in 71 blocks.
==6750==    still reachable: 3,426,560 bytes in 11,726 blocks.
==6750==         suppressed: 0 bytes in 0 blocks.

how did you measure the leaks?

-- 
python-poppler doesn't close files
https://bugs.launchpad.net/bugs/316722
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to