Back out r186615; the sanitizing of the pointers in the error case

is not needed and seems that it will not be needed either.

Pointy hat:	mine, mine, mine and not pho's
This commit is contained in:
Bjoern A. Zeeb 2009-01-04 12:18:18 +00:00
parent 2b67c28a09
commit eb76156548
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=186736

View File

@ -329,11 +329,9 @@ jail_copyin_ips(struct jail *j)
e_free_ip:
#ifdef INET6
free(ip6, M_PRISON);
j->ip6 = NULL;
#endif
#ifdef INET
free(ip4, M_PRISON);
j->ip4 = NULL;
#endif
return (error);
}