From d0fc110cc31a30132bf878a86cf530e83d34d974 Mon Sep 17 00:00:00 2001 From: Mark Adler Date: Fri, 16 May 2025 10:21:11 -0700 Subject: Remove redundant frees of point list on error in examples/zran.c. Also clean out the point list contents when freed, even though the structure itself is freed, in case someone tries to free it again. --- examples/zran.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples/zran.h') diff --git a/examples/zran.h b/examples/zran.h index 5c6e643a..16a84feb 100644 --- a/examples/zran.h +++ b/examples/zran.h @@ -1,7 +1,7 @@ -/* zran.h -- example of deflated stream indexing and random access - * Copyright (C) 2005, 2012, 2018, 2023, 2024 Mark Adler +/* zran.h -- example of deflate stream indexing and random access + * Copyright (C) 2005, 2012, 2018, 2023, 2024, 2025 Mark Adler * For conditions of distribution and use, see copyright notice in zlib.h - * Version 1.5 4 Feb 2024 Mark Adler */ + * Version 1.7 16 May 2025 Mark Adler */ #include #include "zlib.h" -- cgit v1.2.3-55-g6feb