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

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

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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

Pushed 02deaa2.

Gabriele Giacone <gg0>
Project MemberIn charge of this item.
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>
Project MemberIn charge of this item.

 

(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)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    Wed 07 Aug 2013 06:52:05 PM UTC gg0 StatusNone => Fixed
        Assigned toNone => gg0
        Open/ClosedOpen => Closed
    Sun 04 Aug 2013 10:48:33 PM UTC gg0 Attached File- => Added p02.diff, #28756

    Back to the top


    Powered by Savane 3.3