summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--AUTHORS2
-rw-r--r--ChangeLog4
-rw-r--r--src/actions.c2
3 files changed, 6 insertions, 2 deletions
diff --git a/AUTHORS b/AUTHORS
index aff1dde..3a33224 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -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>
diff --git a/ChangeLog b/ChangeLog
index d0ec9bf..c398918 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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;