[Poppler-bugs] [Bug 107151] Add font color in Poppler

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Aug 16 14:59:38 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=107151

--- Comment #27 from Albert Astals Cid <aacid at kde.org> ---
(In reply to Tobias Deiminger from comment #26)
> (In reply to Albert Astals Cid from comment #22)
> > * GooString *fontTag;
> >   parseAppearanceString(appearanceString, fontsize, fontcolor, fontTag);
> > Is this a memory leak?
> 
> If you mean fontTag:
> parseAppearanceString allocates fontTag, DefaultAppearance Ctor makes a
> copy, and the very next line to DefaultAppearance Ctor is "delete fontTag".

I mean fontTag, but that is on line 

@@ -2872,7 +2924,8 @@ void AnnotFreeText::generateFreeTextAppearance()


fontTag is never used not passed anywhere.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20180816/17d4c3e7/attachment.html>


More information about the Poppler-bugs mailing list