Free readline() output with free(), not os_free()

This commit is contained in:
Jouni Malinen 2009-12-19 22:01:09 +02:00
parent 45767a9597
commit a24eb8424b

View file

@ -1887,7 +1887,7 @@ static void wpa_cli_interactive(void)
wpa_request(ctrl_conn, argc, argv);
if (cmd != cmdbuf)
os_free(cmd);
free(cmd);
} while (!wpa_cli_quit);
#ifdef CONFIG_READLINE