From 8d04d441e886907893e17f4d4c005b48128410ea Mon Sep 17 00:00:00 2001 From: Sumit Bose Date: Mon, 9 Jul 2012 20:45:12 +0200 Subject: Remove resource leak in sssdpac_import_authdata Fixes https://fedorahosted.org/sssd/ticket/1409 --- src/sss_client/sssd_pac.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/sss_client') 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 */ } -- cgit