git: 9front

Download patch

ref: 88722dac9df41f0b1f6288cbdb6e5eed9c3ab55c
parent: ba0621195e9b5f3605b5d0c95fc7a744f6666dbf
author: Ori Bernstein <ori@eigenstate.org>
date: Sun Sep 14 23:34:54 EDT 2025

gefs: remove broken dead code in freepath

--- a/sys/src/cmd/gefs/tree.c
+++ b/sys/src/cmd/gefs/tree.c
@@ -19,7 +19,6 @@
 
 	/* Flowing up from flush */
 	int	op;	/* change done along path */
-	Blk	*m;	/* node merged against, for post-update free */
 	Blk	*nl;	/* new left */
 	Blk	*nr;	/* new right, if we split or rotated */
 	int	midx;	/* modification index */
@@ -1136,8 +1135,6 @@
 
 	for(p = path; p != path + npath; p++){
 		if(ok && p->b != nil)
-			freeblk(t, p->b);
-		if(ok && p->m != nil)
 			freeblk(t, p->b);
 		dropblk(p->b);
 		dropblk(p->nl);
--