diff options
-rw-r--r-- | src/processor/cfi_frame_info-inl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/processor/cfi_frame_info-inl.h b/src/processor/cfi_frame_info-inl.h index e55e6ea2..7e7af0af 100644 --- a/src/processor/cfi_frame_info-inl.h +++ b/src/processor/cfi_frame_info-inl.h @@ -68,7 +68,7 @@ bool SimpleCFIWalker<RegisterType, RawContextType>::FindCallerRegisters( // Populate *caller_context with the values the rules placed in // caller_registers. - memset(caller_context, 0xda, sizeof(caller_context)); + memset(caller_context, 0xda, sizeof(*caller_context)); *caller_validity = 0; for (size_t i = 0; i < map_size_; i++) { const RegisterSet &r = register_map_[i]; |