aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2012-05-26 13:56:56 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2012-05-26 13:56:56 +0200
commitda02f4ca35ba0346ad1826bab87042f39660f0c0 (patch)
treef5b1b29875c99cb2ff1845cec28cda59d5b48ef6
parentcd0ea468955e420049ebf6079e4dbb605f7f6823 (diff)
remove NULL check in dFree()
Submitted by: 123 <p37sitdu@lavabit.com>
-rw-r--r--dlib/dlib.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/dlib/dlib.c b/dlib/dlib.c
index 002adcdf..cdc7ca62 100644
--- a/dlib/dlib.c
+++ b/dlib/dlib.c
@@ -65,8 +65,7 @@ void *dMalloc0 (size_t size)
void dFree (void *mem)
{
- if (mem)
- free(mem);
+ free(mem);
}
/*