ref: fd70297e5a82331a414700c657e879ca81c4cb7d
parent: 743c45024adba0fd2748687dac327ae9bb54b0ab
author: Sigrid Solveig Haflínudóttir <[email protected]>
date: Wed Jun 2 09:23:11 EDT 2021
ccittfax: use malloc since memmoving directly after
--- a/f_ccittfax.c
+++ b/f_ccittfax.c
@@ -89,7 +89,7 @@
Object *parms;
Header *h;
- if((h = calloc(sizeof(*h), 1)) == nil)
+ if((h = malloc(sizeof(*h))) == nil)
return -1;
memmove(h, &bh, sizeof(bh));
parms = dictget(o, "DecodeParms");