projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56ccddb
)
Fix a minor memory leak in the pwqual loader
author
Greg Hudson
<ghudson@mit.edu>
Thu, 23 Jun 2011 19:25:58 +0000
(19:25 +0000)
committer
Greg Hudson
<ghudson@mit.edu>
Thu, 23 Jun 2011 19:25:58 +0000
(19:25 +0000)
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
patch
|
blob
|
history
diff --git
a/src/lib/kadm5/srv/pwqual.c
b/src/lib/kadm5/srv/pwqual.c
index 71ffa6644d9f6733c9ebc30cef818346e8d2f700..8c53391ec94c983a10087e4781f82d326599936d 100644
(file)
--- 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);
}