Signed-off-by: Jeff Layton <[email protected]>
---
 getcifsacl.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/getcifsacl.c b/getcifsacl.c
index ac3674c..256b2ad 100644
--- a/getcifsacl.c
+++ b/getcifsacl.c
@@ -211,6 +211,8 @@ print_sid(struct cifs_sid *sidptr, int raw)
                if (strlen(domain_name))
                        printf("%c", '\\');
                printf("%s", sidname);
+               wbcFreeMemory(domain_name);
+               wbcFreeMemory(sidname);
                return;
        }
 
-- 
1.7.11.7

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to