1
0
Fork 0
mirror of https://github.com/hermitcore/libhermit.git synced 2025-03-09 00:00:03 +01:00

kernel/create_task: also destroy interrupt stack on failure

This commit is contained in:
daniel-k 2016-06-24 21:06:50 +02:00
parent 0384aa3443
commit 74c3d4f0ba

View file

@ -512,6 +512,7 @@ out:
if (ret) {
destroy_stack(stack, DEFAULT_STACK_SIZE);
destroy_stack(ist, KERNEL_STACK_SIZE);
kfree(counter);
}