diff --git a/criu/cr-restore.c b/criu/cr-restore.c index 67032a347..8c752d129 100644 --- a/criu/cr-restore.c +++ b/criu/cr-restore.c @@ -2822,7 +2822,7 @@ rst_prep_creds_args(CredsEntry *ce, unsigned long *prev_pos) memcpy(&args->creds, ce, sizeof(args->creds)); if (ce->lsm_profile || opts.lsm_supplied) { - char *rendered, *profile; + char *rendered = NULL, *profile; profile = ce->lsm_profile; if (opts.lsm_supplied)