summaryrefslogtreecommitdiff
path: root/misc/mc/files/patch-src-command.c
blob: 1dc7e17c8f649dc27e5f4aaafdd91ea227e3c22c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- src/command.c.orig	Thu Nov 14 13:25:19 2002
+++ src/command.c	Tue Jun 15 03:15:09 2004
@@ -258,7 +258,7 @@
 WInput *
 command_new (int y, int x, int cols)
 {
-    WInput *cmd = g_new (WInput, 1);
+    WInput *cmd;
 
     cmd = input_new (y, x, DEFAULT_COLOR, cols, "", "cmdline");