diff --git a/dma.c b/dma.c index ae0018a..c314eb7 100644 --- a/dma.c +++ b/dma.c @@ -126,6 +126,7 @@ set_from(struct queue *queue, const char *osender) } if (strchr(sender, '\n') != NULL) { + free(sender); errno = EINVAL; return (NULL); }