diff options
Diffstat (limited to 'source3/locking/locking.c')
-rw-r--r-- | source3/locking/locking.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/locking/locking.c b/source3/locking/locking.c index 3e511c487d..a4561f50d8 100644 --- a/source3/locking/locking.c +++ b/source3/locking/locking.c @@ -1496,6 +1496,7 @@ static struct security_unix_token *copy_unix_token(TALLOC_CTX *ctx, const struct cpy->groups = (gid_t *)talloc_memdup( cpy, tok->groups, tok->ngroups * sizeof(gid_t)); if (!cpy->groups) { + TALLOC_FREE(cpy); return NULL; } } |