[PATCH 2/4] xkb: Remove superfluous if(x) x = realloc(x, sz); else x = malloc(sz); logic
daniel at fooishbar.org
Fri Jun 4 08:28:28 PDT 2010
On Fri, Jun 04, 2010 at 11:12:31AM -0400, Matt Turner wrote:
> Why did anyone write the code like that to begin with? Did the
> behavior or realloc not allow this at some point in the past?
I assume it's always been like that, but just hadn't read the realloc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the xorg-devel