xmalloc: Remove unnecessary NULL check before realloc()
commit42e233eab7e6f5eb1a63545c526aa7dd34945bef
authorTobias Klauser <tklauser@distanz.ch>
Thu, 5 Feb 2015 11:07:50 +0000 (5 12:07 +0100)
committerTobias Klauser <tklauser@distanz.ch>
Thu, 5 Feb 2015 11:07:50 +0000 (5 12:07 +0100)
treeb632610418a3cbea2fe7dec5552771f4f734ab6c
parent50802193c013bf79411111cf393b3aafa5ad2dc5
xmalloc: Remove unnecessary NULL check before realloc()

If realloc() is passed NULL as its first argument, it behaves like
malloc(), so the check for ptr begin NULL is not necessary

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
xmalloc.c