summary refs log tree commit diff stats
path: root/src/fe-text/fe-text.c
diff options
context:
space:
mode:
authorRichardHitt <rbh00@netcom.com>2013-01-09 14:37:57 -0800
committerRichardHitt <rbh00@netcom.com>2013-01-09 14:37:57 -0800
commit6beef589e32d874e5d961e7e6f7b2a68c56538bd (patch)
treec27f129c1011d63570295117ea6cabd5e25e65f8 /src/fe-text/fe-text.c
parent285ddd0b60974bebbee6ea6168bf8d53262f6145 (diff)
Make source cleah with cppcheck, except for mpc and sasl
Diffstat (limited to 'src/fe-text/fe-text.c')
-rw-r--r--src/fe-text/fe-text.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-text/fe-text.c b/src/fe-text/fe-text.c
index bd9d2d1a..21db1bbd 100644
--- a/src/fe-text/fe-text.c
+++ b/src/fe-text/fe-text.c
@@ -116,7 +116,6 @@ fe_new_window (struct session *sess, int focus)
 #endif
 	"\n\n", 0);
 	fflush (stdout);
-	fflush (stdin);
 }
 
 static int
@@ -506,6 +505,7 @@ fe_args (int argc, char *argv[])
 			*sl = 0;
 			printf ("%s\\plugins\n", exe);
 		}
+		free (exe);
 #else
 		printf ("%s\n", HEXCHATLIBDIR"/plugins");
 #endif