1
0
Fork 0

DBG: fixed a memory leak

This commit is contained in:
Mr. eXoDia 2014-06-24 15:23:34 +02:00
parent b139b6440f
commit 493816f557
1 changed files with 3 additions and 0 deletions

View File

@ -336,7 +336,10 @@ bool disasmgetstringat(uint addr, STRING_TYPE* type, char* ascii, char* unicode,
uint test=0;
memcpy(&test, data, sizeof(uint));
if(memisvalidreadptr(fdProcessInfo->hProcess, test))
{
efree(data, "disasmgetstringat:data");
return false;
}
if(isasciistring(data, maxlen))
{
if(type)