summaryrefslogtreecommitdiff
path: root/storage/innobase/os/os0proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'storage/innobase/os/os0proc.c')
-rw-r--r--storage/innobase/os/os0proc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/storage/innobase/os/os0proc.c b/storage/innobase/os/os0proc.c
index a99fe8b6a0e..f00475fc528 100644
--- a/storage/innobase/os/os0proc.c
+++ b/storage/innobase/os/os0proc.c
@@ -591,6 +591,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