diff options
Diffstat (limited to 'lib/memdebug.c')
-rw-r--r-- | lib/memdebug.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/memdebug.c b/lib/memdebug.c index 00e57e9a1..ede60094b 100644 --- a/lib/memdebug.c +++ b/lib/memdebug.c @@ -306,9 +306,8 @@ void *curl_dbg_realloc(void *ptr, size_t wantedsize, void curl_dbg_free(void *ptr, int line, const char *source) { - struct memdebug *mem; - if(ptr) { + struct memdebug *mem; #ifdef __INTEL_COMPILER # pragma warning(push) |