Free readline() output with free(), not os_free()
This commit is contained in:
parent
45767a9597
commit
a24eb8424b
1 changed files with 1 additions and 1 deletions
|
@ -1887,7 +1887,7 @@ static void wpa_cli_interactive(void)
|
||||||
wpa_request(ctrl_conn, argc, argv);
|
wpa_request(ctrl_conn, argc, argv);
|
||||||
|
|
||||||
if (cmd != cmdbuf)
|
if (cmd != cmdbuf)
|
||||||
os_free(cmd);
|
free(cmd);
|
||||||
} while (!wpa_cli_quit);
|
} while (!wpa_cli_quit);
|
||||||
|
|
||||||
#ifdef CONFIG_READLINE
|
#ifdef CONFIG_READLINE
|
||||||
|
|
Loading…
Reference in a new issue