diff options
| author | raysan5 <raysan5@gmail.com> | 2015-01-18 10:57:30 +0100 |
|---|---|---|
| committer | raysan5 <raysan5@gmail.com> | 2015-01-18 10:57:30 +0100 |
| commit | 5104567a24021fb07e62f941b4b9e64f4bda56e7 (patch) | |
| tree | efbe8719ae383edd60b08d0969377218e275430a /src/utils.c | |
| parent | 2968ba9938792753a876deb3e2584f3361c60b4d (diff) | |
| download | raylib-5104567a24021fb07e62f941b4b9e64f4bda56e7.tar.gz raylib-5104567a24021fb07e62f941b4b9e64f4bda56e7.zip | |
Some code tweaks
Diffstat (limited to 'src/utils.c')
| -rw-r--r-- | src/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.c b/src/utils.c index c3c20b47..dd08f5f8 100644 --- a/src/utils.c +++ b/src/utils.c @@ -79,7 +79,7 @@ unsigned char *DecompressData(const unsigned char *data, unsigned long compSize, pUncomp = (mz_uint8 *)malloc((size_t)uncompSize); // Check correct memory allocation - if (!pUncomp) + if (pUncomp == NULL) { TraceLog(WARNING, "Out of memory while decompressing data"); } |
