From: Greg Hudson Date: Thu, 23 Jun 2011 19:25:58 +0000 (+0000) Subject: Fix a minor memory leak in the pwqual loader X-Git-Tag: krb5-1.10-alpha1~387 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f3f4677b4970ddbcdcc5e4da6b6b48111fbd7dfd;p=krb5.git 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 --- 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); }