diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2015-02-05 12:07:50 +0100 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2015-02-05 12:07:50 +0100 |
commit | 42e233eab7e6f5eb1a63545c526aa7dd34945bef (patch) | |
tree | b632610418a3cbea2fe7dec5552771f4f734ab6c /colors.h | |
parent | 50802193c013bf79411111cf393b3aafa5ad2dc5 (diff) |
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>
Diffstat (limited to 'colors.h')
0 files changed, 0 insertions, 0 deletions