Fix unreleased resource in rootfs

This commit is contained in:
topjohnwu
2017-12-16 04:40:54 +08:00
parent 8ca1e43533
commit 17f0fea3fc
4 changed files with 21 additions and 9 deletions

View File

@@ -76,6 +76,7 @@ static void lazy_unmount(const char* mountpoint) {
static void hide_daemon(int pid, int ppid) {
LOGD("hide_daemon: start unmount for pid=[%d]\n", pid);
strcpy(argv0, "hide_daemon");
char *line, buffer[PATH_MAX];
struct vector mount_list;