From f3f4677b4970ddbcdcc5e4da6b6b48111fbd7dfd Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Thu, 23 Jun 2011 19:25:58 +0000 Subject: [PATCH] Fix a minor memory leak in the pwqual loader k5_pwqual_free_handles() wasn't freeing the container structure for each handle. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24986 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/kadm5/srv/pwqual.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/kadm5/srv/pwqual.c b/src/lib/kadm5/srv/pwqual.c index 71ffa6644..8c53391ec 100644 --- a/src/lib/kadm5/srv/pwqual.c +++ b/src/lib/kadm5/srv/pwqual.c @@ -106,6 +106,7 @@ k5_pwqual_free_handles(krb5_context context, pwqual_handle *handles) handle = *hp; if (handle->vt.close != NULL) handle->vt.close(context, handle->data); + free(handle); } free(handles); } -- 2.26.2