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:
parent
8be6450cb6
commit
567afddb69
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue