summaryrefslogtreecommitdiffstats
path: root/loader2/method.c
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2007-10-19 17:19:21 +0000
committerPeter Jones <pjones@redhat.com>2007-10-19 17:19:21 +0000
commit0e917057bea03b3e897db2117b0ec982a098b254 (patch)
tree28a878ad4f6f5e0b141187e43a2e3800260cdf17 /loader2/method.c
parent17f23ff101e1ceb738218dc46896bff614fe7fc2 (diff)
downloadanaconda-0e917057bea03b3e897db2117b0ec982a098b254.tar.gz
anaconda-0e917057bea03b3e897db2117b0ec982a098b254.tar.xz
anaconda-0e917057bea03b3e897db2117b0ec982a098b254.zip
- fix some missing close(), gunzip_close(), and munmap() calls
- fix handling of EINTR from init_module(2)
Diffstat (limited to 'loader2/method.c')
-rw-r--r--loader2/method.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/loader2/method.c b/loader2/method.c
index 4cf4764b9..bbe0b75ca 100644
--- a/loader2/method.c
+++ b/loader2/method.c
@@ -475,6 +475,7 @@ int unpackCpioBall(char * ballPath, char * rootDir) {
rc = chdir(cwd);
return 0;
}
+ gunzip_close(fd);
}
rc = chdir(cwd);
}