]> git.ipfire.org Git - thirdparty/hostap.git/commit
eloop: Fix timeout handler to use local copy of func pointer
authorJouni Malinen <j@w1.fi>
Sat, 26 Dec 2009 12:30:50 +0000 (14:30 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 26 Dec 2009 12:30:50 +0000 (14:30 +0200)
commit459489c99d25c4ceca2b89ed32fceabeb020bb55
tree952e7c33cbc81855b9b8fb041547f96f18e8cbaa
parent833fe95eb1d0d7790c86da5cdabda3a8d3063af5
eloop: Fix timeout handler to use local copy of func pointer

We need to copy not only the context pointers, but also the function
pointer before the timeout gets freed.
src/utils/eloop.c