summaryrefslogtreecommitdiff
path: root/quotaio.c
diff options
context:
space:
mode:
Diffstat (limited to 'quotaio.c')
-rw-r--r--quotaio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/quotaio.c b/quotaio.c
index c08406f..77d60b5 100644
--- a/quotaio.c
+++ b/quotaio.c
@@ -115,6 +115,8 @@ struct quota_handle *init_io(struct mntent *mnt, int type, int fmt, int flags)
h->qh_fd = -1;
h->qh_fmt = fmt;
}
+ free(qfname); /* We don't need it anymore */
+ qfname = NULL;
if (h->qh_fmt == QF_VFSOLD)
h->qh_ops = &quotafile_ops_1;