about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2024-04-11 21:05:07 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2024-04-11 21:05:07 +0000
commit2ea6cbec549e46141e1212436db4dae5f1652f9b (patch)
tree525727efa3aa54bace1e40dcdbf76a22a9a4a35a /lib
parent81c59f730dacf62c927eb57dcadeecffe8b8daea (diff)
downloadnetpbm-mirror-2ea6cbec549e46141e1212436db4dae5f1652f9b.tar.gz
netpbm-mirror-2ea6cbec549e46141e1212436db4dae5f1652f9b.tar.xz
netpbm-mirror-2ea6cbec549e46141e1212436db4dae5f1652f9b.zip
Release 11.06.01
git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@4907 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'lib')
-rw-r--r--lib/util/mallocvar.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/util/mallocvar.h b/lib/util/mallocvar.h
index 23b28c40..16452702 100644
--- a/lib/util/mallocvar.h
+++ b/lib/util/mallocvar.h
@@ -109,8 +109,6 @@ reallocProduct(void **      const blockP,
     void * array; \
     array = arrayName; \
     reallocProduct(&array, nElements, sizeof(arrayName[0])); \
-    if (!array && arrayName) \
-        free(arrayName); \
     arrayName = array; \
 } while (0)