diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2013-01-07 22:53:41 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-01-08 11:55:55 +0100 |
commit | 53bf0219474371e4c7bc0315a42d1e39acf083bb (patch) | |
tree | af19892d0b1f8984a5df764eaf114baf31dbae74 /src/sss_client | |
parent | 7ed683eba94b5bcdc4fe3f9037d80d0fedcddfd0 (diff) | |
download | sssd-53bf0219474371e4c7bc0315a42d1e39acf083bb.tar.gz sssd-53bf0219474371e4c7bc0315a42d1e39acf083bb.tar.bz2 sssd-53bf0219474371e4c7bc0315a42d1e39acf083bb.zip |
Potential resource leak in sss_nss_mc_get_record
https://fedorahosted.org/sssd/ticket/1748
Diffstat (limited to 'src/sss_client')
-rw-r--r-- | src/sss_client/nss_mc_common.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sss_client/nss_mc_common.c b/src/sss_client/nss_mc_common.c index f777890a..78490bef 100644 --- a/src/sss_client/nss_mc_common.c +++ b/src/sss_client/nss_mc_common.c @@ -222,6 +222,7 @@ errno_t sss_nss_mc_get_record(struct sss_cli_mc_ctx *ctx, if (!MC_CHECK_RECORD_LENGTH(ctx, rec)) { /* record has invalid length */ + free(copy_rec); return EINVAL; } |