From: Peter Howkins Date: Mon, 2 Jul 2018 22:28:31 +0000 (+0100) Subject: libDtSearch: Coverity 86459 X-Git-Tag: 2.3.0a~242 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2a988f5ad32ad1fd209a6b0a01cc176c5e392e97;p=oweals%2Fcde.git libDtSearch: Coverity 86459 --- 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;