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:
parent
0384aa3443
commit
74c3d4f0ba
1 changed files with 1 additions and 0 deletions
|
@ -512,6 +512,7 @@ out:
|
|||
|
||||
if (ret) {
|
||||
destroy_stack(stack, DEFAULT_STACK_SIZE);
|
||||
destroy_stack(ist, KERNEL_STACK_SIZE);
|
||||
kfree(counter);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue