atheros: Fix glibc 'invalid pointer' error when WPA_TRACE is enabled

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
This commit is contained in:
Baruch Siach 2011-06-25 15:41:46 +03:00 committed by Jouni Malinen
parent 8be6450cb6
commit 567afddb69

View File

@ -1116,7 +1116,7 @@ atheros_get_we_version(struct atheros_driver_data *drv)
drv->we_version = range->we_version_compiled;
}
free(range);
os_free(range);
return 0;
}