Remove memory leaks.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16265 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
		| @@ -98,9 +98,21 @@ copy_import(void) | ||||
|     if (usage1 != usage1) | ||||
| 	errx(1, "usage not equal"); | ||||
|  | ||||
|     gss_release_cred(&min_stat, &cred1); | ||||
|     gss_release_cred(&min_stat, &cred2); | ||||
|  | ||||
|     gss_release_name(&min_stat, &name1); | ||||
|     gss_release_name(&min_stat, &name2); | ||||
|  | ||||
| #if 0 | ||||
|     compare(mechs1, mechs2); | ||||
| #endif | ||||
|  | ||||
|     gss_release_oid_set(&min_stat, &mechs1); | ||||
|     gss_release_oid_set(&min_stat, &mechs2); | ||||
|  | ||||
|     krb5_cc_destroy(context, id); | ||||
|     krb5_free_context(context); | ||||
| } | ||||
|  | ||||
| static struct getargs args[] = { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Love Hörnquist Åstrand
					Love Hörnquist Åstrand