Re: [PATCH:xlsfonts 1/3] Remove unneeded Malloc function

2011-01-29 Thread Julien Cristau
On Fri, Jan 28, 2011 at 20:08:50 -0800, Alan Coopersmith wrote: > The only place it was called was in Realloc, if the initial pointer was > NULL, but ANSI C89 already guarantees realloc(NULL, size) will be handled > as malloc(size), so we don't need to handle that case ourselves. > > Signed-off-b

[PATCH:xlsfonts 1/3] Remove unneeded Malloc function

2011-01-28 Thread Alan Coopersmith
The only place it was called was in Realloc, if the initial pointer was NULL, but ANSI C89 already guarantees realloc(NULL, size) will be handled as malloc(size), so we don't need to handle that case ourselves. Signed-off-by: Alan Coopersmith --- dsimple.c | 20 +--- dsimple.h