gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] [bug #39693] cppcheck: (error) Common realloc mistake: '_


From: Gabriele Giacone
Subject: [Gnash-commit] [bug #39693] cppcheck: (error) Common realloc mistake: '_testBuffer' nulled but not freed upon failure
Date: Sun, 04 Aug 2013 22:48:34 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:22.0) Gecko/20100101 Firefox/22.0 Iceweasel/22.0

URL:
  <http://savannah.gnu.org/bugs/?39693>

                 Summary: cppcheck: (error) Common realloc mistake:
'_testBuffer' nulled but not freed upon failure
                 Project: Gnash - The GNU Flash player
            Submitted by: gg0
            Submitted on: Mon 05 Aug 2013 12:48:33 AM CEST
                Category: None
                Severity: 3 - Normal
                 Release: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

[librender/agg/Renderer_agg.h:53]: (error) Common realloc mistake:
'_testBuffer' nulled but not freed upon failure

Attached patch makes cppcheck happy by checking reallocation on a temporary
buffer and saving old location.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 05 Aug 2013 12:48:33 AM CEST  Name: p02.diff  Size: 1kB   By: gg0

<http://savannah.gnu.org/bugs/download.php?file_id=28756>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?39693>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]