HMG_Upper() function causes a memory leak

Moderator: Rathinagiri

KDJ
Posts: 243
Joined: Mon Sep 05, 2016 3:04 am
Location: Poland

Re: HMG_Upper() function causes a memory leak

Post 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 ).
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: HMG_Upper() function causes a memory leak

Post by srvet_claudio »

Thank for the info
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
Post Reply