[Poppler-bugs] [Bug 65551] New: cppcheck report

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Jun 8 14:34:53 PDT 2013


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

          Priority: medium
            Bug ID: 65551
          Assignee: poppler-bugs at lists.freedesktop.org
           Summary: cppcheck report
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: serval2412 at yahoo.fr
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: utils
           Product: poppler

Created attachment 80536
  --> https://bugs.freedesktop.org/attachment.cgi?id=80536&action=edit
Complete cppcheck report

Hello,

I launched cppcheck git updated today on poppler git updated today.
There are false positives but some may interest you, eg:

[poppler/UTF.cc:104]: (error) Mismatching allocation and deallocation: utf16
[qt4/src/poppler-private.h:90]: (error) Mismatching allocation and
deallocation: fileName
[splash/Splash.cc:3802] -> [splash/Splash.cc:3802]: (style) Same expression on
both sides of '||'
[utils/HtmlOutputDev.cc:1704]: (error) Memory leak: str
[poppler/Annot.cc:3161] -> [poppler/Annot.cc:3159]: (style) Found duplicate
branches for 'if' and 'else'.
[poppler/Annot.cc:3859] -> [poppler/Annot.cc:3857]: (style) Found duplicate
branches for 'if' and 'else'.
etc.

Julien
PS : sorry, I selected "utils" for component but I launched cppcheck on the
whole project.

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


More information about the Poppler-bugs mailing list