Merge pull request #3902 from rablwupei/xmlhttprequest_leak

fix XMLHTTPRequest.cpp memory leak
This commit is contained in:
James Chen 2013-10-09 02:05:10 -07:00
commit 16fec3386b
1 changed files with 2 additions and 0 deletions

View File

@ -99,6 +99,8 @@ void MinXmlHttpRequest::_gotHeader(string header)
pch = strtok (NULL, " ");
}
}
CC_SAFE_DELETE_ARRAY(cstr);
}
/**