Index: src/platform-win32.cc |
diff --git a/src/platform-win32.cc b/src/platform-win32.cc |
index 4da0101eaee8a34490159deef649648580911fb5..97788e2f66a925240e4f48cf9f63944f0a0d12cf 100644 |
--- a/src/platform-win32.cc |
+++ b/src/platform-win32.cc |
@@ -1299,7 +1299,7 @@ int OS::StackWalk(Vector<OS::StackFrame> frames) { |
// Try to locate a symbol for this frame. |
DWORD64 symbol_displacement; |
- SmartPointer<IMAGEHLP_SYMBOL64> symbol( |
+ SmartArrayPointer<IMAGEHLP_SYMBOL64> symbol( |
NewArray<IMAGEHLP_SYMBOL64>(kStackWalkMaxNameLen)); |
if (symbol.is_empty()) return kStackWalkError; // Out of memory. |
memset(*symbol, 0, sizeof(IMAGEHLP_SYMBOL64) + kStackWalkMaxNameLen); |