Do not free id and key, as they are used later

This commit is contained in:
manu 2006-09-30 15:51:42 +00:00
parent 8e1de5f3ab
commit d5f44674f8
2 changed files with 4 additions and 7 deletions

View File

@ -1,3 +1,6 @@
2006-09-20 Emmanuel Dreyfus <manu@netbsd.org>
* src/Racoon/admin.c: Do not free id and key, as they are used later
2006-09-29 Emmanuel Dreyfus <manu@netbsd.org>
* src/racoon/racoonctl.c: Fix the previous fix

View File

@ -1,4 +1,4 @@
/* $NetBSD: admin.c,v 1.12 2006/09/26 21:10:55 manu Exp $ */
/* $NetBSD: admin.c,v 1.13 2006/09/30 15:51:42 manu Exp $ */
/* Id: admin.c,v 1.25 2006/04/06 14:31:04 manubsd Exp */
@ -526,12 +526,6 @@ out:
if (buf != NULL)
vfree(buf);
if (key != NULL)
vfree(key);
if (id != NULL)
vfree(id);
return error;
}