summaryrefslogtreecommitdiff
path: root/sent.c
diff options
context:
space:
mode:
Diffstat (limited to 'sent.c')
-rw-r--r--sent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sent.c b/sent.c
index 82acd81..5fce290 100644
--- a/sent.c
+++ b/sent.c
@@ -210,7 +210,7 @@ ffload(Slide *s)
if (memcmp("farbfeld", hdr, 8))
die("sent: Filtered file '%s' has no valid farbfeld header", filename);
- s->img = calloc(1, sizeof(Image));
+ s->img = ecalloc(1, sizeof(Image));
s->img->bufwidth = ntohl(*(uint32_t *)&hdr[8]);
s->img->bufheight = ntohl(*(uint32_t *)&hdr[12]);
Software created with 💖