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/responder/nss | |
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/responder/nss')
-rw-r--r-- | src/responder/nss/nsssrv_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/responder/nss/nsssrv_cmd.c b/src/responder/nss/nsssrv_cmd.c index f2f6e9068..715c27ba0 100644 --- a/src/responder/nss/nsssrv_cmd.c +++ b/src/responder/nss/nsssrv_cmd.c @@ -4335,7 +4335,7 @@ static int nss_cmd_getbysid(enum sss_cli_command cmd, struct cli_ctx *cctx) /* If the body isn't a SID, fail */ err = sss_idmap_sid_to_bin_sid(nctx->idmap_ctx, sid_str, &bin_sid, &bin_sid_length); - talloc_free(bin_sid); + sss_idmap_free_bin_sid(nctx->idmap_ctx, bin_sid); if (err != IDMAP_SUCCESS) { DEBUG(SSSDBG_OP_FAILURE, ("sss_idmap_sid_to_bin_sid failed for [%s].\n", body)); |