summaryrefslogtreecommitdiff
path: root/locking.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2015-02-05 12:07:50 +0100
committerTobias Klauser <tklauser@distanz.ch>2015-02-05 12:07:50 +0100
commit42e233eab7e6f5eb1a63545c526aa7dd34945bef (patch)
treeb632610418a3cbea2fe7dec5552771f4f734ab6c /locking.h
parent50802193c013bf79411111cf393b3aafa5ad2dc5 (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 'locking.h')
0 files changed, 0 insertions, 0 deletions