- cmdname = realloc(cmdname, cmdname_alloc * sizeof(*cmdname)); + cmdname = xrealloc(cmdname, cmdname_alloc * sizeof(*cmdname)); if (!cmdname) oom();
If you are using xrealloc, shouldn't kill the oom check here too? M. - 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