diff options
author | Pavel Březina <pbrezina@redhat.com> | 2013-11-05 12:27:58 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-11-07 10:59:38 +0100 |
commit | 6469f42ca80bb9b955875d590485b0d9366491df (patch) | |
tree | 5c1c0a2175a51a997a6f5b9d137fb1231b2f1481 /src/lib | |
parent | 89fdf07e77054b2931673bd1f082cb459607c0ec (diff) | |
download | sssd-6469f42ca80bb9b955875d590485b0d9366491df.tar.gz sssd-6469f42ca80bb9b955875d590485b0d9366491df.tar.xz sssd-6469f42ca80bb9b955875d590485b0d9366491df.zip |
free idmapped binary SIDs correctly
Resolves:
https://fedorahosted.org/sssd/ticket/2133
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/cifs_idmap_sss/cifs_idmap_sss.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/cifs_idmap_sss/cifs_idmap_sss.c b/src/lib/cifs_idmap_sss/cifs_idmap_sss.c index f9149177b..7968877ed 100644 --- a/src/lib/cifs_idmap_sss/cifs_idmap_sss.c +++ b/src/lib/cifs_idmap_sss/cifs_idmap_sss.c @@ -167,7 +167,7 @@ static int sid_to_cifs_sid(struct sssd_ctx *ctx, const char *sid, } memcpy(csid, bsid, length); - free(bsid); + sss_idmap_free_bin_sid(ctx->idmap, bsid); return 0; } |