s3fs-utils: Free the popt context in smbcacls and smbquotas.
[kai/samba.git] / source3 / utils / smbcquotas.c
index be82e34997c9595d0b7ccf470c3bd30263edf101..b96210386da9dae5edc3617ee329f3934a297898 100644 (file)
@@ -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);