diff --git a/src/libmux/queue.c b/src/libmux/queue.c index 072f1860..1cadbe6c 100644 --- a/src/libmux/queue.c +++ b/src/libmux/queue.c @@ -45,6 +45,7 @@ _muxqsend(Muxqueue *q, void *p) if(q->hungup){ werrstr("hungup queue"); qunlock(&q->lk); + free(e); return -1; } e->p = p;