-/* $KAME: remoteconf.c,v 1.28 2001/10/02 03:46:41 sakane Exp $ */
+/* $KAME: remoteconf.c,v 1.29 2001/12/07 08:39:39 sakane Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
delrmconf(rmconf)
struct remoteconf *rmconf;
{
+
if (rmconf->etypes)
deletypes(rmconf->etypes);
if (rmconf->dhgrp)
oakley_dhgrp_free(rmconf->dhgrp);
if (rmconf->proposal)
delisakmpsa(rmconf->proposal);
+ if (rmconf->idv)
+ vfree(rmconf->idv);
+ if (rmconf->idv_p)
+ vfree(rmconf->idv_p);
+ if (rmconf->remote)
+ racoon_free(rmconf->remote);
+ if (rmconf->shared_secret)
+ vfree(rmconf->shared_secret);
+ if (rmconf->keychainCertRef)
+ CFRelease(rmconf->keychainCertRef);
+ if (rmconf->open_dir_auth_group)
+ vfree(rmconf->open_dir_auth_group);
+
racoon_free(rmconf);
}