X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/a795ab99c73ecf5cd577a8fc092074a850314664..681930474072737451ca95ab5682c7ad69e95060:/zlib/zutil.c diff --git a/zlib/zutil.c b/zlib/zutil.c index 7fb0327b..2aafdab3 100644 --- a/zlib/zutil.c +++ b/zlib/zutil.c @@ -213,7 +213,7 @@ void zcfree (opaque, ptr) voidpf opaque; voidpf ptr; { - free(ptr); + if (ptr) free(ptr); if (opaque) return; /* make compiler happy */ }