bugGNU gettext - Bugs: bug #17659, potential memory leak in...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #17659: potential memory leak in autosprintf::operator char * ()

Submitted by:  None
Submitted on:  Fri 08 Sep 2006 11:46:19 PM UTC  
 
Category: Programmer interfaceSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Bruno Haible <haible>
Open/Closed: Closed

Sat 01 Sep 2007 09:18:55 AM UTC, comment #1:

Thank you for reporting this. I am adding mention of these
memory management details to the documentation.

Bruno Haible <haible>
Project AdministratorIn charge of this item.
Fri 08 Sep 2006 11:46:19 PM UTC, original submission:

the char * cast operator returns a copy of the temporary
string. this copy is allocated via new[], but never gets
deleted[], nor does the documentation mention that one has
to delete[] the returned pointer.

Anonymous

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by haible (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to 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
    Sat 26 Nov 2016 11:35:57 PM UTChaibleCategoryNone=>Programmer interface
    Sun 30 Sep 2007 11:22:59 PM UTChaibleOpen/ClosedOpen=>Closed
    Sat 01 Sep 2007 09:18:55 AM UTChaibleStatusNone=>Fixed
      Assigned toNone=>haible

    Back to the top


    Powered by Savane 3.1-cleanup1