[PATCH] Fix memory leak on error path

Jouni Malinen j
Tue Nov 23 15:45:24 PST 2010


On Mon, Nov 15, 2010 at 07:07:09PM +0900, Masashi Honma wrote:
> wlan0: RADIUS No authentication server configured
> ^CMEMLEAK[0x99a0320]: len 64
> WPA_TRACE: memleak - START
> [2]: ./hostapd(radius_msg_new+0x45) [0x8074f55]
>      radius_msg_initialize() ../src/radius/radius.c:89
>      radius_msg_new() ../src/radius/radius.c:117

> For example, this error occured when I used WPS hostapd without
> "eap_server=1" definition in configuration file.
> 
> This patch solves this issue.

Thanks! Applied.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list