المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Memory leak when return char* from DLL



C++ Programming
03-31-2009, 12:23 PM
Hi ,
I have a problem of memory leak when we call a function from win 32 DLL in our MFC program.
DLL is C type and return value of my DLL is Char* and it is locally defined in function of DLL. and size is 1024 byte.

when functon call four times then MFC application hold 4 KB Extra memory.