diff options
-rw-r--r-- | usr.sbin/edquota/edquota.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/edquota/edquota.c b/usr.sbin/edquota/edquota.c index 8918d45..503559f 100644 --- a/usr.sbin/edquota/edquota.c +++ b/usr.sbin/edquota/edquota.c @@ -161,6 +161,8 @@ main(argc, argv) if (editit(tmpfil) && readtimes(protoprivs, tmpfil)) putprivs(0, quotatype, protoprivs); freeprivs(protoprivs); + close(tmpfd); + unlink(tmpfil); exit(0); } for ( ; argc > 0; argc--, argv++) { |