summaryrefslogtreecommitdiff
path: root/src/sss_client
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2012-07-09 20:45:12 +0200
committerStephen Gallagher <sgallagh@redhat.com>2012-07-10 09:07:26 -0400
commit8d04d441e886907893e17f4d4c005b48128410ea (patch)
tree4ee220a322b3d3799de0c2506355ff50dfc990e3 /src/sss_client
parented040c0d1ce0167ab0d9b413aa186c6d2eb0ed88 (diff)
downloadsssd-8d04d441e886907893e17f4d4c005b48128410ea.tar.gz
sssd-8d04d441e886907893e17f4d4c005b48128410ea.tar.bz2
sssd-8d04d441e886907893e17f4d4c005b48128410ea.zip
Remove resource leak in sssdpac_import_authdata
Fixes https://fedorahosted.org/sssd/ticket/1409
Diffstat (limited to 'src/sss_client')
-rw-r--r--src/sss_client/sssd_pac.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/sss_client/sssd_pac.c b/src/sss_client/sssd_pac.c
index cbcfe1d9..0cce43dd 100644
--- a/src/sss_client/sssd_pac.c
+++ b/src/sss_client/sssd_pac.c
@@ -83,8 +83,6 @@ sssdpac_import_authdata(krb5_context kcontext,
{
struct sss_cli_req_data sss_data;
int ret;
- uint8_t *repbuf;
- size_t replen;
int errnop;
char *data = NULL;
struct sssd_context *sssdctx = (struct sssd_context *)request_context;
@@ -97,7 +95,7 @@ sssdpac_import_authdata(krb5_context kcontext,
sss_data.data = authdata[0]->contents;
ret = sss_pac_make_request(SSS_PAC_ADD_PAC_USER, &sss_data,
- &repbuf, &replen, &errnop);
+ NULL, NULL, &errnop);
if (ret != 0) {
/* Ignore the error */
}