Thread (3 messages) flat view 3 messages, 2 authors, 2016-06-15

Re: [PATCH] use xrealloc in help.c

From: Morten Welinder <hidden>
Date: 2016-06-15 22:43:01

-               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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help