Kaydet (Commit) 64fd8989 authored tarafından Norbert Thiebaud's avatar Norbert Thiebaud Kaydeden (comit) Caolán McNamara

coverity#983175 Resource leak

Change-Id: I03eadb6f1e7235f03149a386c407066f81473772
Reviewed-on: https://gerrit.libreoffice.org/2207Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst a811e047
......@@ -427,7 +427,10 @@ int PDFOutDev::parseFont( long long nNewId, GfxFont* gfxFont, GfxState* state )
// we must write byte count to stdout before
char* pBuf = gfxFont->readEmbFontFile( m_pDoc->getXRef(), &nSize );
if( pBuf )
{
aNewFont.isEmbedded = true;
gfree(pBuf);
}
}
m_aFontMap[ nNewId ] = aNewFont;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment