shithub: riscv

Download patch

ref: e220636fd305f378a27cfa485d39e7588d6dc03c
parent: 474c2c8a2cfeac3058c6bed4504bb3c1715ef79a
author: cinap_lenrek <[email protected]>
date: Sun Sep 15 11:14:12 EDT 2013

vncv: fix missing free for window label

--- a/sys/src/cmd/vnc/vncv.c
+++ b/sys/src/cmd/vnc/vncv.c
@@ -143,6 +143,7 @@
 	label = smprint("vnc %s", serveraddr);
 	if(initdraw(0, 0, label) < 0)
 		sysfatal("initdraw: %r");
+	free(label);
 	display->locking = 1;
 	unlockdisplay(display);