wificurse

wifi jamming tool
git clone git://git.2f30.org/wificurse
Log | Files | Refs | README | LICENSE

commit 75c1fab215abf753349a9dfeb78aba6eb90fa611
parent c8e9e15f6517f6264aadd2f117cad843f77ddfc5
Author: oblique <psyberbits@gmail.com>
Date:   Sat,  3 Mar 2012 10:59:37 +0200

fix a bug in free_ap_list

Diffstat:
Msrc/console.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/console.c b/src/console.c @@ -33,8 +33,8 @@ void init_ap_list(struct ap_list *apl) { void free_ap_list(struct ap_list *apl) { struct access_point *tmp; - tmp = apl->head; while (apl->head != NULL) { + tmp = apl->head; apl->head = apl->head->next; free(tmp); }