[poppler] Private TextPage destructor

Johnny Mariéthoz Johnny.Mariethoz at rero.ch
Wed Jun 16 23:31:54 PDT 2010


Dear all,

I try to use swig to create a python wrapper to poppler (not on poppler-glib but on the poppler base classes), and I note that the destructor of TextPage is private.

As swig do not wrap private/protected methods I have memory leaks. Are they good reasons to make the destructor
private?

From TextOutputDev.h

private:

  // Destructor.
  ~TextPage();

Many thanks in advance.
----------------------------------------------------------------------
Johnny Mariéthoz
RERO, Av. de la Gare 45, CH - 1920 MARTIGNY
Téléphone:  +41(0)27 721 8579
Fax              : +41(0)27 721 8586
Web            : http://www.rero.ch
ReroDoc    : http://doc.rero.ch, doc.support at rero.ch
----------------------------------------------------------------------




More information about the poppler mailing list