shithub: mq

Download patch

ref: 41f14ba45c88568a511e27bcc157ef409616bc48
parent: 668a30f10fce153d238bd784f632338d735ad6e3
author: james palmer <james@biobuf.link>
date: Fri Jun 18 10:27:09 EDT 2021

mq: fix incorrect free in streamclose

--- a/src/mq.c
+++ b/src/mq.c
@@ -149,7 +149,7 @@
 		listunlink(r);
 		free(r);
 	}
-	free(s->wqueue);
+	free(s->rqueue);
 	listeach(Write*, s->wqueue, w){
 		listunlink(w);
 		free(w);