summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backends/linux-core-note.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/backends/linux-core-note.c b/backends/linux-core-note.c
index 9faae4c3..238ec16d 100644
--- a/backends/linux-core-note.c
+++ b/backends/linux-core-note.c
@@ -239,6 +239,7 @@ EBLHOOK(core_note) (const GElf_Nhdr *nhdr, const char *name,
return 0;
*regs_offset = 0;
*nregloc = 0;
+ *reglocs = NULL;
*nitems = 1;
*items = vmcoreinfo_items;
return 1;