shithub: mc

Download patch

ref: fc186cb5dc36f2253453904d308cb0040f3e6c0c
parent: f7fc1cd4e2b36f2ae8d124c4654eac7f48aadff8
author: Ori Bernstein <[email protected]>
date: Fri Oct 13 04:54:52 EDT 2017

We need to free the loopck on err.

--- a/lib/fileutil/walk.myr
+++ b/lib/fileutil/walk.myr
@@ -24,7 +24,8 @@
 	| `std.Err e:
 		-> [
 			.dirstk = [][:],
-			.curdir = [][:]
+			.curdir = [][:],
+			.loopck = mkloopcheck(p),
 		]
 	;;
 }