Close files before exit

This commit is contained in:
Glenn L McGrath 2001-01-20 06:23:54 +00:00
parent 6f65a3a7e8
commit f914a8af2b
2 changed files with 2 additions and 0 deletions

View File

@ -155,5 +155,6 @@ extern int dpkg_deb_main(int argc, char **argv)
}
}
status = readTarFile(srcFd, extract_flag, list_flag, extract_to_stdout, verbose_flag, NULL, extract_list);
close (srcFd);
return(EXIT_SUCCESS);
}

View File

@ -155,5 +155,6 @@ extern int dpkg_deb_main(int argc, char **argv)
}
}
status = readTarFile(srcFd, extract_flag, list_flag, extract_to_stdout, verbose_flag, NULL, extract_list);
close (srcFd);
return(EXIT_SUCCESS);
}