mirror of https://github.com/axmolengine/axmol.git
Merge pull request #3902 from rablwupei/xmlhttprequest_leak
fix XMLHTTPRequest.cpp memory leak
This commit is contained in:
commit
16fec3386b
|
@ -99,6 +99,8 @@ void MinXmlHttpRequest::_gotHeader(string header)
|
|||
pch = strtok (NULL, " ");
|
||||
}
|
||||
}
|
||||
|
||||
CC_SAFE_DELETE_ARRAY(cstr);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue