Claudio
I found three more functions which do not release the buffer allocated on the heap memory (hb_xgrab):
HMG_GetUnicodeCharacter(),
HMG_UNICODE_TO_ANSI(),
HMG_ANSI_TO_UNICODE().
They also cause memory leaks. Could you check?
---
PS
And by the way, I noticed that in the file c_InitCom.c there are two functions that are not used:
WCHAR * hmg_MBtoWC ( CHAR * srcA ),
CHAR * hmg_WCtoMB ( WCHAR * srcW ).
HMG_Upper() function causes a memory leak
Moderator: Rathinagiri
- srvet_claudio
- Posts: 2193
- Joined: Thu Feb 25, 2010 8:43 pm
- Location: Uruguay
- Contact:
Re: HMG_Upper() function causes a memory leak
Thank for the info