Commit Diff


commit - e4213243b6508845e530a1aadef9fe28d49a1ff2
commit + 8a4f92ca904ede1f7a5e7e1bafdf8be7974943ed
blob - 3fdee51058625f396f08e673e79e87ba2d0843db
blob + 76c6d44ac38e69c04070e891dd9273426ebc3fc3
--- gotwebd/got_operations.c
+++ gotwebd/got_operations.c
@@ -1176,6 +1176,9 @@ got_gotweb_blame_cb(void *arg, int nlines, int lineno,
 
 		a->lineno_cur++;
 		bline = &a->lines[a->lineno_cur - 1];
+
+		free(eline);
+		eline = NULL;
 	}
 done:
 	free(line);