Fix crash in rk_freeifaddrs due to freeing an invalid pointer
commit1cbb0e766dbf2e25fd1bce9fb9f979019953b085
authorTed Percival <ted.percival@quest.com>
Tue, 4 Aug 2009 21:33:56 +0000 (4 15:33 -0600)
committerLove Hornquist Astrand <lha@h5l.org>
Wed, 5 Aug 2009 10:29:26 +0000 (5 12:29 +0200)
treed43fc92c7fbda8613cfa468b794ede8968861808
parent0ede7ac5613e1d1b06fc4e060a7c04f817c2d08b
Fix crash in rk_freeifaddrs due to freeing an invalid pointer

Crash occurs on Linux systems that support AF_NETLINK but do not have
getifaddrs() in libc (eg. SuSE 8.1).

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
lib/roken/getifaddrs.c