Fix typo
authorSam Hartman <hartmans@mit.edu>
Tue, 6 May 2003 19:00:02 +0000 (19:00 +0000)
committerSam Hartman <hartmans@mit.edu>
Tue, 6 May 2003 19:00:02 +0000 (19:00 +0000)
Ticket: 1454
Status: open

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

src/lib/krb5/krb/kfree.c

index 9fc8ed4edbbac4d70ae854613a556adea57699b4..47004397155f5a31ade21e85daa245c1a7d5895d 100644 (file)
@@ -246,7 +246,7 @@ void krb5_free_etype_info(krb5_context context, krb5_etype_info info)
   for(i=0; info[i] != NULL; i++) {
       if (info[i]->salt)
          free(info[i]->salt);
-      krb5_free_data_contents( context, &info[2]->s2kparams);
+      krb5_free_data_contents( context, &info[i]->s2kparams);
       free(info[i]);
   }
   free(info);