From 2a988f5ad32ad1fd209a6b0a01cc176c5e392e97 Mon Sep 17 00:00:00 2001 From: Peter Howkins Date: Mon, 2 Jul 2018 23:28:31 +0100 Subject: [PATCH] libDtSearch: Coverity 86459 --- cde/lib/DtSearch/isduprec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cde/lib/DtSearch/isduprec.c b/cde/lib/DtSearch/isduprec.c index b87de0ab..31d0fad8 100644 --- a/cde/lib/DtSearch/isduprec.c +++ b/cde/lib/DtSearch/isduprec.c @@ -169,7 +169,7 @@ int is_duprec (char *recid) duprec_hashsize); #endif - hashtab = malloc ((duprec_hashsize + 2L) * sizeof (HASHNODE **)); + hashtab = malloc ((duprec_hashsize + 2L) * sizeof (HASHNODE *)); if (hashtab == NULL) return OUT_OF_MEM; -- 2.25.1