Free readline() output with free(), not os_free()
authorJouni Malinen <j@w1.fi>
Sat, 19 Dec 2009 20:01:09 +0000 (22:01 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 19 Dec 2009 20:01:09 +0000 (22:01 +0200)
wpa_supplicant/wpa_cli.c

index 82d7ae2..76e2166 100644 (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