Skip to content
Commit 9f8a7cca authored by Ruslan Kuprieiev's avatar Ruslan Kuprieiev Committed by Pavel Emelyanov
Browse files

restore: sigreturn_restore: free core _after_ using it



Currently we have this:
	.......
	/* No longer need it */
	core_entry__free_unpacked(core, NULL);

	ret = prepare_itimers(pid, core, task_args);
	if (ret < 0)
		goto err;
	.......

So we're using ptr right after free-ing it.

Signed-off-by: default avatarRuslan Kuprieiev <kupruser@gmail.com>
Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
parent 787e8a1d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment