Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Alexander_Naumov:SLE-12:Update
podofo.35912
r1850-Fix-a-memory-leak-on-document-load-except...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File r1850-Fix-a-memory-leak-on-document-load-exception-in-podofotxtextract.patch of Package podofo.35912
------------------------------------------------------------------------ r1850 | aja_ | 2017-05-16 07:41:50 +0200 (mar, 16 may 2017) | 2 lines Fix a memory leak on document load exception in podofotxtextract Index: tools/podofotxtextract/TextExtractor.cpp =================================================================== --- tools/podofotxtextract/TextExtractor.cpp (revision 1849) +++ tools/podofotxtextract/TextExtractor.cpp (revision 1850) @@ -38,8 +38,10 @@ PODOFO_RAISE_ERROR( ePdfError_InvalidHandle ); } - PdfMemDocument document( pszInput ); + PdfMemDocument document; + document.Load( pszInput ); + int nCount = document.GetPageCount(); for( int i=0; i<nCount; i++ ) { ------------------------------------------------------------------------
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor