diff options
author | Amarnath Valluri <amarnath.valluri@intel.com> | 2016-06-17 13:28:09 +0300 |
---|---|---|
committer | Amarnath Valluri <amarnath.valluri@intel.com> | 2016-06-17 15:07:39 +0300 |
commit | 6234ebd48600cb418b1a858fd586656321eceda8 (patch) | |
tree | b200551d323e7b2315a95fca88c676f6720c7a81 | |
parent | 478d5df91178a35f97cdf90c055d95c358b55e52 (diff) | |
download | swig-6234ebd48600cb418b1a858fd586656321eceda8.tar.gz |
CCache: Fix typo in null check
-rw-r--r-- | CCache/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CCache/util.c b/CCache/util.c index af4e7868b..ef90e2336 100644 --- a/CCache/util.c +++ b/CCache/util.c @@ -490,7 +490,7 @@ void x_asprintf(char **ptr, const char *format, ...) } va_end(ap); - if (!ptr) fatal("out of memory in x_asprintf"); + if (!*ptr) fatal("out of memory in x_asprintf"); } /* |