OSDN Git Service

do not save/restore errno around free() calls
authorDenys Vlasenko <vda.linux@googlemail.com>
Sat, 5 Sep 2009 21:37:40 +0000 (23:37 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sat, 5 Sep 2009 21:37:40 +0000 (23:37 +0200)
commitfdf14ae2e653f275c085329b183373e1fb062693
treeaf64aedb51e30bda270721bf37729bcb1f4cb567
parenta76558a92e21643a628c3c6a8cd22816634b1749
do not save/restore errno around free() calls

In any non-buggy program free() does not fail.
And when it fails in a buggy program, the failure
is usually fatal (heap corruption and segfault).

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
libc/inet/if_index.c
libc/inet/ifaddrs.c
libc/misc/dirent/opendir.c
librt/shm.c