Index: src/disassembler.cc |
diff --git a/src/disassembler.cc b/src/disassembler.cc |
index 79076d6abc2ea0ef494e75c5d78289a2e2757e0c..cce3c45560aa362e1c0d239f5dceb7dc2a6cf4e4 100644 |
--- a/src/disassembler.cc |
+++ b/src/disassembler.cc |
@@ -223,7 +223,7 @@ static int DecodeIt(FILE* f, |
HeapStringAllocator allocator; |
StringStream accumulator(&allocator); |
relocinfo.target_object()->ShortPrint(&accumulator); |
- SmartPointer<const char> obj_name = accumulator.ToCString(); |
+ SmartArrayPointer<const char> obj_name = accumulator.ToCString(); |
out.AddFormatted(" ;; object: %s", *obj_name); |
} else if (rmode == RelocInfo::EXTERNAL_REFERENCE) { |
const char* reference_name = |