DBG: fixed a memory leak
This commit is contained in:
parent
b139b6440f
commit
493816f557
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue