diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-12-03 20:38:41 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-12-03 20:38:41 +0100 |
commit | ba627dd9ecb578e9852c7b9cce67ec63199d1acf (patch) | |
tree | 27c4258311ca8c8ed7ff67a8a0bc7280e8fcae79 /scanin/scanrd.c | |
parent | 69aec3b712232e93600ecd741269fed1f90b412a (diff) | |
parent | 3abb40d43649adb3807180692d8579c405524675 (diff) |
Merge branch 'release/2.0.0+repack-1'2.0.0+repack-1
Diffstat (limited to 'scanin/scanrd.c')
-rwxr-xr-x[-rw-r--r--] | scanin/scanrd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scanin/scanrd.c b/scanin/scanrd.c index 7e497be..8e30a76 100644..100755 --- a/scanin/scanrd.c +++ b/scanin/scanrd.c @@ -3471,7 +3471,7 @@ scanrd_ *s ADD_ITEM_TO_TOP(s->alist,sp); /* Add it to the active list */ sp->active = 1; sp->ps[0] = calloc(s->tdepth * binsize,sizeof(unsigned long)); - if (sp->ps == NULL) + if (sp->ps[0] == NULL) error("do_value_scan: Failed to malloc sbox histogram array"); for (e = 1; e < s->depth; e++) sp->ps[e] = sp->ps[e-1] + binsize; |