Skip to content
This repository was archived by the owner on Feb 8, 2021. It is now read-only.

Commit 6d9ea0e

Browse files
committed
free container after container is exited
Signed-off-by: Gao feng <omarapazanadi@gmail.com>
1 parent 686708b commit 6d9ea0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/exec.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -734,7 +734,7 @@ static int hyper_release_exec(struct hyper_exec *exec)
734734
/* shutdown vm manually, hyper doesn't care the pod finished codes */
735735
hyper_pod_destroyed(exec->pod, 0);
736736
}
737-
737+
hyper_cleanup_container(container_of(exec, struct hyper_container, exec), exec->pod);
738738
return 0;
739739
}
740740

0 commit comments

Comments
 (0)