From 567afddb69a84aa144a87e27ad94baa40967d964 Mon Sep 17 00:00:00 2001 From: Baruch Siach Date: Sat, 25 Jun 2011 15:41:46 +0300 Subject: [PATCH] atheros: Fix glibc 'invalid pointer' error when WPA_TRACE is enabled Signed-off-by: Baruch Siach --- src/drivers/driver_atheros.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }