need to pass pointer to cursor, and to free the contents of the cursor
authorJohn Kohl <jtkohl@mit.edu>
Fri, 31 Aug 1990 14:16:50 +0000 (14:16 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Fri, 31 Aug 1990 14:16:50 +0000 (14:16 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1069 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/keytab/file/ktf_endget.c

index 274fb95de94d86ee39b4d6bd85367022621c556c..6fed8918862f6c9395afdd0e6cecaf0209635acc 100644 (file)
@@ -24,8 +24,8 @@ static char rcsid_ktf_endget_c[] =
 krb5_error_code
 krb5_ktfile_end_get(id, cursor)
 krb5_keytab id;
-krb5_kt_cursor cursor;
+krb5_kt_cursor *cursor;
 {
-    xfree(cursor);
+    xfree(*cursor);
     return krb5_ktfileint_close(id);
 }