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

Commit b25cc06

Browse files
authored
Merge pull request #290 from gao-feng/free-container
free container after container is exited
2 parents 64d5c61 + 6d9ea0e commit b25cc06

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)