From f5b4ef3ed8c99939b2f2c76a6c59da641145a585 Mon Sep 17 00:00:00 2001 From: Luke Howard Date: Wed, 9 Dec 2015 19:04:48 +1100 Subject: [PATCH] gssapi: plug leak in test_context IOV test --- lib/gssapi/test_context.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/gssapi/test_context.c b/lib/gssapi/test_context.c index dfee0dda3..ade7f5cd8 100644 --- a/lib/gssapi/test_context.c +++ b/lib/gssapi/test_context.c @@ -444,6 +444,7 @@ wrapunwrap_iov(gss_ctx_id_t cctx, gss_ctx_id_t sctx, int flags, gss_OID mechoid) if (conf_state2 != conf_state) errx(1, "conf state wrong for iov: %x", flags); + gss_release_iov_buffer(&min_stat, iov, iov_len); free(token.data); } -- 2.11.4.GIT