diff --git a/src/drivers/driver_atheros.c b/src/drivers/driver_atheros.c index 96ef8bb63..1e78f6e23 100644 --- a/src/drivers/driver_atheros.c +++ b/src/drivers/driver_atheros.c @@ -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; }