libDtSearch: Coverity 86459

This commit is contained in:
Peter Howkins
2018-07-02 23:28:31 +01:00
parent 5b1c87fb43
commit 2a988f5ad3

View File

@@ -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;