EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Memory leak on font adding

Posted: 04/03/2015 03:49:41
by Piotr Szychowski (Priority Standard support level)
Joined: 04/03/2015
Posts: 3


I have some problems with including external font to signing PDF.
I've got memory leak (yeah i know that is the key sentence). It's on code pasted below:|


where sign is a pointer to TElPDFSignature,
std::unique_ptr<TElPDFCompositeFont> _font;
std::unique_ptr<TElPDFCIDFont> _CIDFont;
std::unique_ptr<TElPDFCIDSystemInfo> _systemInfo;
std::unique_ptr<TElPDFCIDFontDescriptor> _fontDescriptor;

I already try to :
use CleanupRegisteredGlobalObjects() still leaking,
Deleting objects by delete operator.

The leak is observed on executing close(true) method on TElPDFDocument object

What can I do now ?

Best regards
Software developer from Invicta
Posted: 04/03/2015 04:07:28
by Dmytro Bogatskyy (Team)

I welcome you to continue the conversation in the Helpdesk ( https://www.eldos.com/helpdesk/ticket_...p?ID=27342 ).

Helpdesk is our easy-to-use ticketing system that allows communicating and exchanging sample data with our support personnel privately. You will also get e-mail notifications about updates of your support ticket.



Topic viewed 572 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!