Skip to content

Commit 2445f86

Browse files
codebyteretargos
authored andcommitted
src: -Wmismatched-new-delete in debug_utils.cc
PR-URL: #58844 Reviewed-By: Ethan Arrowood <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
1 parent a1f4333 commit 2445f86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/debug_utils.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ std::vector<std::string> NativeSymbolDebuggingContext::GetLoadedLibraries() {
488488
WideCharToMultiByte(
489489
CP_UTF8, 0, module_name, -1, str, size, nullptr, nullptr);
490490
list.emplace_back(str);
491-
delete str;
491+
delete[] str;
492492
}
493493
}
494494
}

0 commit comments

Comments
 (0)