Free unparsed names in SAM response handling
authorSam Hartman <hartmans@mit.edu>
Mon, 15 Mar 2004 20:06:29 +0000 (20:06 +0000)
committerSam Hartman <hartmans@mit.edu>
Mon, 15 Mar 2004 20:06:29 +0000 (20:06 +0000)
Ticket: 2219
Status: open

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16173 dc483132-0cff-0310-8789-dd5450dbe970

src/kdc/ChangeLog
src/kdc/kdc_preauth.c

index 617f06c9c0396ffeb78372cfc7f530631b9cc247..a5a6e39f4552bb571e7bcec2abd03dfcd3e552ec 100644 (file)
@@ -1,3 +1,7 @@
+2004-03-15  Sam Hartman  <hartmans@mit.edu>
+
+       * kdc_preauth.c (verify_sam_response): Free unparsed names
+
 2004-03-08  Ken Raeburn  <raeburn@mit.edu>
 
        * Makefile.in (MY_SUBDIRS): Deleted.
index a8d9216ba10625984af5f3ef93ff2ccaeb9cb0f9..da7ddfa56a4167f301ab46c1dc558fc2b6d98b8f 100644 (file)
@@ -1530,6 +1530,8 @@ verify_sam_response(krb5_context context, krb5_db_entry *client,
     if (sr) free(sr);
     if (psr) free(psr);
     if (esre) free(esre);
+    if (princ_psr) free(princ_psr);
+    if (princ_req) free(princ_req);
 
     return retval;
 }