diff options
-rw-r--r-- | AUTHORS | 2 | ||||
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | src/actions.c | 2 |
3 files changed, 6 insertions, 2 deletions
@@ -32,5 +32,5 @@ Joshua Neuheisel <jneuheisel@msn.com> Sylvain BEUCLER <beuc@beuc.net> Cameron Patrick <cameron@patrick.wattle.id.au> Trent Buck <fubarbaz@bigpond.com> -jesus c. meyendriesch <ratpoison-devel@haareambauch.de> +jesus c. meyendriesch <jesus@qplay.org> Bernhard R. Link <brlink@debian.org> @@ -1,3 +1,7 @@ +2005-04-10 Shawn <katia_dilkina@verizon.net> + + * src/actions.c (cmdret_new): malloc enough for the cmdret structure. + 2005-04-09 Shawn <sabetts@monk.lamenet> * src/actions.c (init_user_commands): add KEY argument to meta diff --git a/src/actions.c b/src/actions.c index d2f2dcf..6d28540 100644 --- a/src/actions.c +++ b/src/actions.c @@ -700,7 +700,7 @@ initialize_default_keybindings (void) static cmdret * cmdret_new (int success, char *fmt, ...) { - cmdret *ret = xmalloc (sizeof (cmdret *)); + cmdret *ret = xmalloc (sizeof (cmdret)); va_list ap; ret->success = success; |