diff options
author | sabetts <sabetts> | 2005-04-10 19:27:58 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2005-04-10 19:27:58 +0000 |
commit | 0dbbcded363f9e077a809dcf50b4b53ff240e71b (patch) | |
tree | 95bf18424057ebc3519dd216f7c7220caa17e395 /src | |
parent | 3f85f32ec5c29e015e86f19c1f669b71c4d5fbb8 (diff) | |
download | ratpoison-0dbbcded363f9e077a809dcf50b4b53ff240e71b.zip |
(cmdret_new): malloc enough for the cmdret structure.
Diffstat (limited to 'src')
-rw-r--r-- | src/actions.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |