diff options
Diffstat (limited to 'gcc/cppalloc.c')
-rw-r--r-- | gcc/cppalloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cppalloc.c b/gcc/cppalloc.c index 07b6ce18a2f..92fa2b9ac20 100644 --- a/gcc/cppalloc.c +++ b/gcc/cppalloc.c @@ -61,7 +61,7 @@ xrealloc (old, size) size_t size; { register PTR ptr; - if (ptr) + if (old) ptr = (PTR) realloc (old, size); else ptr = (PTR) malloc (size); |