]> git.ipfire.org Git - thirdparty/cups-filters.git/commit
Poppler removed memCheck and gMemReport functions 66/head
authorOlivier Schonken <olivier.schonken@gmail.com>
Fri, 5 Oct 2018 10:05:31 +0000 (12:05 +0200)
committerOlivier Schonken <olivier.schonken@gmail.com>
Fri, 5 Oct 2018 10:19:24 +0000 (12:19 +0200)
commit6b0747c1630dd973acd138f927dbded4ea45e360
treea087037a454f140d526bda6e84f7c8017fe14865
parentf0edb1d9e6e43ec4e115f0ab4e803454cc5e2a78
Poppler removed memCheck and gMemReport functions

Only use gMemReport and memCheck functions if poppler version less
than 0.69.0

The poppler project removed the memCheck and gMemReport functions in
commits c362ab1b97f20c5b73b3bad8d52015f679178748 - Remove DEBUG_MEM
from Object since this uses RAII now and hence cannot leak.
(The existing tracking also is not thread-safe and hence unreliable.)

and

f89446f6917a869b0f1a80fcc8ce81a7213dade4 - Remove generic heap debugging
from gmem since external tools and compiler instrumentation achieve the
same effect.

This commit solves https://github.com/OpenPrinting/cups-filters/issues/62

Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
filter/pdftoijs.cxx
filter/pdftoopvp/pdftoopvp.cxx
filter/pdftoraster.cxx