bugGnash - The GNU Flash player - Bugs: bug #39693, cppcheck: (error) Common realloc...

 
 

bug #39693: cppcheck: (error) Common realloc mistake: '_testBuffer' nulled but not freed upon failure

Submitter:  Gabriele Giacone <gg0>
Submitted:  Sun 04 Aug 2013 10:48:33 PM UTC
   
 
Category:  None Severity:  3 - Normal
Release:  None Status:  Fixed
Privacy:  Public Assigned to:  gg0
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 07 Aug 2013 06:52:05 PM UTC, comment #1: 

Pushed 02deaa2.

Gabriele Giacone <gg0>
Group Member
Sun 04 Aug 2013 10:48:33 PM UTC, original submission:  

[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.

Gabriele Giacone <gg0>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #28756:  p02.diff added by gg0 (1KiB - text/x-diff)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gg0 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-08-07 gg0 StatusNone Fixed
        Assigned toNone gg0
        Open/ClosedOpen Closed
    2013-08-04 gg0 Attached File- Added p02.diff, #28756

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code