Closed pharring closed 6 years ago
The wstring allocated here: https://github.com/Microsoft/IIS.ServiceMonitor/blob/208e504bbc0d2f7b20aac08a9c83e29953639c51/src/ServiceMonitor/IISConfigUtil.cpp#L64 is never delete'd. Suggest using a stack-allocated wstring instead of new.
delete
new
The wstring allocated here: https://github.com/Microsoft/IIS.ServiceMonitor/blob/208e504bbc0d2f7b20aac08a9c83e29953639c51/src/ServiceMonitor/IISConfigUtil.cpp#L64 is never
delete
'd. Suggest using a stack-allocated wstring instead ofnew
.