helpGNU gettext - Support: sr #109145, Memory Leak

 
 

sr #109145: Memory Leak

Submitted by:  Fernando <oberynmartell>
Submitted on:  Mon 19 Sep 2016 01:54:21 AM UTC  
 
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  Not a Bug
Privacy:  Public Assigned to:  Bruno Haible <haible>
Open/Closed:  Closed Operating System:  Microsoft Windows

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Tue 11 Sep 2018 12:14:40 AM UTC, comment #1:

Yes, the bindtextdomain and textdomain functions allocate memory that does not get freed. But this occurs only once, at the start of the program, and is therefore not a problem. You can ignore these two findings.

Bruno Haible <haible>
Project AdministratorIn charge of this item.
Mon 19 Sep 2016 01:54:21 AM UTC, original submission:

I'm running a memory leak detector on my software, and it is detecting some memory leaks on the bindtextdomain and the textdomain functions.
I could not find anywhere if any kind of freeing of memory is needed for gettext.
The call stack for both are:

ucrtbased.dll!malloc()
demon.exe!set_binding_values() + 0x12 bytes
demon.exe!libintl_bindtextdomain()

ucrtbased.dll!strdup()
demon.exe!libintl_textdomain() + 0xB bytes
demon.exe!textdomain()

Is it normal?

Thanks in advance!

Fernando <oberynmartell>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by haible (Posted a comment)
  • -email is unavailable- added by oberynmartell (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.

     

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-09-11 haible StatusNone => Not a Bug
        Assigned toNone => haible
        Open/ClosedOpen => Closed

    Back to the top


    Powered by Savane 3.3