svn rev #24986: trunk/src/lib/kadm5/srv/

ghudson@MIT.EDU ghudson at MIT.EDU
Thu Jun 23 15:25:58 EDT 2011


http://src.mit.edu/fisheye/changelog/krb5/?cs=24986
Commit By: ghudson
Log Message:
Fix a minor memory leak in the pwqual loader.

k5_pwqual_free_handles() wasn't freeing the container structure for
each handle.


Changed Files:
U   trunk/src/lib/kadm5/srv/pwqual.c
Modified: trunk/src/lib/kadm5/srv/pwqual.c
===================================================================
--- trunk/src/lib/kadm5/srv/pwqual.c	2011-06-23 19:25:55 UTC (rev 24985)
+++ trunk/src/lib/kadm5/srv/pwqual.c	2011-06-23 19:25:58 UTC (rev 24986)
@@ -106,6 +106,7 @@
         handle = *hp;
         if (handle->vt.close != NULL)
             handle->vt.close(context, handle->data);
+        free(handle);
     }
     free(handles);
 }




More information about the cvs-krb5 mailing list