summaryrefslogtreecommitdiff
path: root/storage/innodb_plugin/os/os0proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'storage/innodb_plugin/os/os0proc.c')
-rw-r--r--storage/innodb_plugin/os/os0proc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/storage/innodb_plugin/os/os0proc.c b/storage/innodb_plugin/os/os0proc.c
index a0ea9a1b258..48922886f23 100644
--- a/storage/innodb_plugin/os/os0proc.c
+++ b/storage/innodb_plugin/os/os0proc.c
@@ -97,6 +97,7 @@ os_mem_alloc_large(
fprintf(stderr, "InnoDB: HugeTLB: Warning: Failed to"
" attach shared memory segment, errno %d\n",
errno);
+ ptr = NULL;
}
/* Remove the shared memory segment so that it will be