提交 5dfc9d1c 编写于 作者: S shshahma

8180433: Cleaner CLR invocation handling

Summary: object allocated with operator new[] should be deallocated with operator delete[]
Reviewed-by: kevinw
上级 f1e30b42
...@@ -152,7 +152,7 @@ int __stdcall invokeCLR( const char* szApplication){ ...@@ -152,7 +152,7 @@ int __stdcall invokeCLR( const char* szApplication){
int nReturn = invokeCLR( wszApplication); int nReturn = invokeCLR( wszApplication);
delete wszApplication; delete[] wszApplication;
return nReturn; return nReturn;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册