git: 9front

Download patch

ref: 225e1c0e1f0fdfaeb50e1a3185efa75658b53ef3
parent: 12e85a59523d7c2cebbf2348dc41ea4553abae45
author: cinap_lenrek <cinap_lenrek@localhost>
date: Thu Jun 16 14:19:32 EDT 2011

fix memleak

--- a/sys/src/libdisk/proto.c
+++ b/sys/src/libdisk/proto.c
@@ -208,6 +208,7 @@
 			if(child.old)
 				free(child.old);
 		}
+		free(d);
 	}
 	close(fd);
 }
--