* net.cc (if_freenameindex): Don't catch a SEGV from free to fail
loudly on double free.
This commit is contained in:
parent
88fa851784
commit
b1f81c3b71
|
@ -1,3 +1,8 @@
|
|||
2014-08-21 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* net.cc (if_freenameindex): Don't catch a SEGV from free to fail
|
||||
loudly on double free.
|
||||
|
||||
2014-08-21 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* dir.cc (rmdir): Don't skip deleting fh in the ENOTEMPTY case.
|
||||
|
|
|
@ -2380,9 +2380,6 @@ if_nameindex (void)
|
|||
extern "C" void
|
||||
if_freenameindex (struct if_nameindex *ptr)
|
||||
{
|
||||
myfault efault;
|
||||
if (efault.faulted (EFAULT))
|
||||
return;
|
||||
free (ptr);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue