shithub: mq

Download patch

ref: 52b7ea043795db40d79ca7aa203cb1c75e002217
parent: 6faa25b814503c8c7c39f42508359924cb64e2c1
author: Ori Bernstein <[email protected]>
date: Sun Sep 17 15:49:01 EDT 2023

mq: fix leak

--- a/mq.c
+++ b/mq.c
@@ -458,6 +458,7 @@
 		return;
 	if(a != nil)
 		a->q->rd[a->id].id = -1;
+	free(a);
 }
 
 void