diff --git a/criu/sk-unix.c b/criu/sk-unix.c index aa987ac30..f41f6c1ef 100644 --- a/criu/sk-unix.c +++ b/criu/sk-unix.c @@ -1095,7 +1095,7 @@ static struct fdinfo_list_entry *get_fle_for_task(struct file_desc *tgt, struct * we need to ... invent a new one! */ - e = xmalloc(sizeof(*e)); + e = shmalloc(sizeof(*e)); if (!e) return NULL;