]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
atheros: Fix glibc 'invalid pointer' error when WPA_TRACE is enabled
authorBaruch Siach <baruch@tkos.co.il>
Sat, 25 Jun 2011 12:41:46 +0000 (15:41 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 25 Jun 2011 12:41:46 +0000 (15:41 +0300)
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
src/drivers/driver_atheros.c

index 96ef8bb6359646f5850a4b56ea769f7e30a62620..1e78f6e234445eb63dcc770019c52fef5f8f03d8 100644 (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;
 }