Page 4 of 4

Re: HMG_Upper() function causes a memory leak

Posted: Tue Jan 31, 2017 8:45 pm
by KDJ
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 ).

Re: HMG_Upper() function causes a memory leak

Posted: Wed Feb 01, 2017 1:07 am
by srvet_claudio
Thank for the info