Browse Source

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

Jouni Malinen 15 years ago
parent
commit
a24eb8424b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      wpa_supplicant/wpa_cli.c

+ 1 - 1
wpa_supplicant/wpa_cli.c

@@ -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