parse_principal_ent, parse_policy_ent): Use Tcl_Free, not free, to release
storage allocated by Tcl_SplitList.
* tcl_ovsec_kadm.c (parse_flags, parse_principal_ent, parse_policy_ent):
Likewise.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16626
dc483132-0cff-0310-8789-
dd5450dbe970
+2004-07-28 Ken Raeburn <raeburn@mit.edu>
+
+ * tcl_kadm5.c (parse_flags, parse_keysalts, parse_key_data,
+ parse_tl_data, parse_principal_ent, parse_policy_ent): Use
+ Tcl_Free, not free, to release storage allocated by
+ Tcl_SplitList.
+ * tcl_ovsec_kadm.c (parse_flags, parse_principal_ent,
+ parse_policy_ent): Likewise.
+
2003-01-08 Ken Raeburn <raeburn@mit.edu>
* Makefile.in (DEFINES): New variable. Define HAS_STDARG for Tcl
*flags |= *(krb5_flags *) Tcl_GetHashValue(entry);
}
- free(argv);
+ Tcl_Free(argv);
return(retcode);
}
}
(*keysalts)[i].ks_salttype = tmp;
- free(argv1);
+ Tcl_Free(argv1);
argv1 = NULL;
}
finished:
- if (argv1)
- free(argv1);
- free(argv);
+ if (argv1) {
+ Tcl_Free(argv1);
+ }
+ Tcl_Free(argv);
return retcode;
}
}
finished:
- free(argv);
+ Tcl_Free(argv);
return retcode;
}
tl->tl_data_contents = (krb5_octet *) malloc(tmp+1);
strcpy((char *) tl->tl_data_contents, argv1[2]);
- free(argv1);
+ Tcl_Free(argv1);
argv1 = NULL;
tl = tl->tl_data_next;
}
*tlp = tl2;
finished:
- if (argv1)
- free(argv1);
- free(argv);
+ if (argv1) {
+ Tcl_Free(argv1);
+ }
+ Tcl_Free(argv);
return retcode;
}
}
finished:
- free(argv);
+ Tcl_Free(argv);
*out_princ = princ;
return retcode;
}
policy->policy_refcnt = tmp;
finished:
- free(argv);
+ Tcl_Free(argv);
*out_policy = policy;
return retcode;
}
*flags |= *(krb5_flags *) Tcl_GetHashValue(entry);
}
- free(argv);
+ Tcl_Free(argv);
return(retcode);
}
}
finished:
- free(argv);
+ Tcl_Free(argv);
*out_princ = princ;
return retcode;
}
policy->policy_refcnt = tmp;
finished:
- free(argv);
+ Tcl_Free(argv);
*out_policy = policy;
return retcode;
}