Signed-off-by: James Bowes <jbowes@xxxxxxxxxxxxxxxxxx> --- help.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/help.c b/help.c index be8651a..34b1dda 100644 --- a/help.c +++ b/help.c @@ -54,7 +54,7 @@ static void add_cmdname(const char *name, int len) struct cmdname *ent; if (cmdname_alloc <= cmdname_cnt) { cmdname_alloc = cmdname_alloc + 200; - cmdname = realloc(cmdname, cmdname_alloc * sizeof(*cmdname)); + cmdname = xrealloc(cmdname, cmdname_alloc * sizeof(*cmdname)); if (!cmdname) oom(); } -- 1.5.0.5 - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html