shithub: watch

Download patch

ref: b3e19782a8b46d9479b9961f9442af70efe629b3
parent: eb7deb6b37b7712cc4992d61b494aa7742a1d083
author: kvik <[email protected]>
date: Mon Apr 27 15:48:37 EDT 2020

Free the Waitmsg*

--- a/watch.c
+++ b/watch.c
@@ -156,6 +156,7 @@
 	}
 	if((m = wait()) && m->msg[0])
 		fprint(2, "watch: %s\n", m->msg);
+	free(m);
 }
 
 void