]> git.ipfire.org Git - thirdparty/hostap.git/commit
eloop: Fix WPA_TRACE tracking in case of realloc failure
authorJouni Malinen <j@w1.fi>
Mon, 5 Jan 2015 21:46:24 +0000 (23:46 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 6 Jan 2015 16:30:20 +0000 (18:30 +0200)
commitb9f6560f38ff4762c2cae83737cf100e6586e14d
tree6945a3028ea77e84bcbc26d067238e9f3303cd8e
parente10422c025a26dcf4ba96eb819d0f69bc69ef2d2
eloop: Fix WPA_TRACE tracking in case of realloc failure

The socket reference tracking entries need to be restored in case
os_realloc_array() fails when adding a new eloop socket.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/utils/eloop.c