From: John Kohl Date: Fri, 31 Aug 1990 14:16:50 +0000 (+0000) Subject: need to pass pointer to cursor, and to free the contents of the cursor X-Git-Tag: krb5-1.0-alpha2~342 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4a4241fb4d5827d87cc34217d557295513f80149;p=krb5.git need to pass pointer to cursor, and to free the contents of the cursor git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1069 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/keytab/file/ktf_endget.c b/src/lib/krb5/keytab/file/ktf_endget.c index 274fb95de..6fed89188 100644 --- a/src/lib/krb5/keytab/file/ktf_endget.c +++ b/src/lib/krb5/keytab/file/ktf_endget.c @@ -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); }