summaryrefslogtreecommitdiff
path: root/source3/utils/smbcquotas.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2012-10-29 21:12:14 +0100
committerJeremy Allison <jra@samba.org>2012-10-30 20:22:46 +0100
commit39e58d6845ee4dab0e9ae1537fccaed837ead728 (patch)
tree73553f44813a4edddfab26cc9c6803e803820bd1 /source3/utils/smbcquotas.c
parentaca807c94cdb44cc846562400495ee3a7114f8e0 (diff)
downloadsamba-39e58d6845ee4dab0e9ae1537fccaed837ead728.tar.gz
samba-39e58d6845ee4dab0e9ae1537fccaed837ead728.tar.bz2
samba-39e58d6845ee4dab0e9ae1537fccaed837ead728.zip
s3fs-utils: Free the popt context in smbcacls and smbquotas.
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Oct 30 20:22:46 CET 2012 on sn-devel-104
Diffstat (limited to 'source3/utils/smbcquotas.c')
-rw-r--r--source3/utils/smbcquotas.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/utils/smbcquotas.c b/source3/utils/smbcquotas.c
index be82e34997..b96210386d 100644
--- a/source3/utils/smbcquotas.c
+++ b/source3/utils/smbcquotas.c
@@ -688,6 +688,8 @@ FSQFLAGS:QUOTA_ENABLED/DENY_DISK/LOG_SOFTLIMIT/LOG_HARD_LIMIT", "SETSTRING" },
exit(EXIT_PARSE_ERROR);
}
+ poptFreeContext(pc);
+
string_replace(path, '/', '\\');
server = SMB_STRDUP(path+2);