mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 635782 - LSPAnnotationGatherer::Run should use nsAutoArrayPtr r=jmathies
This commit is contained in:
parent
9c4e74e95e
commit
5ef609b502
@ -95,7 +95,7 @@ LSPAnnotationGatherer::Run()
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
nsAutoPtr<char> byteArray = new char[size];
|
||||
nsAutoArrayPtr<char> byteArray(new char[size]);
|
||||
WSAPROTOCOL_INFOW* providers =
|
||||
reinterpret_cast<WSAPROTOCOL_INFOW*>(byteArray.get());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user