projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
e20f577
)
Merge branch 'maint'
author
Andre Noll
<maan@systemlinux.org>
Thu, 3 Feb 2011 08:15:58 +0000
(09:15 +0100)
committer
Andre Noll
<maan@systemlinux.org>
Thu, 3 Feb 2011 08:15:58 +0000
(09:15 +0100)
command.c
patch
|
blob
|
history
diff --git
a/command.c
b/command.c
index
57e851f
..
f462016
100644
(file)
--- a/
command.c
+++ b/
command.c
@@
-458,10
+458,8
@@
int com_help(struct rc4_context *rc4c, int argc, char * const * argv)
}
/* argument given for help */
cmd = get_cmd_ptr(argv[1], &handler);
- if (!cmd) {
- free(handler);
+ if (!cmd)
return -E_BAD_CMD;
- }
perms = cmd_perms_itohuman(cmd->perms);
ret = rc4_send_va_buffer(rc4c,
"%s - %s\n\n"