--- xroottext.c~	Wed Mar 10 20:38:00 1999
+++ xroottext.c	Tue Mar 26 23:37:36 2002
@@ -161,6 +161,7 @@
 		fprintf(stderr, "rendered row %d @%d+%d `%s'\n", row, pty->xoff, y+ascent, buf);
 	}
     }
+    free(buf);
 }
 
 void erase_pseudo_tty(struct pseudo_tty *pty, Display *dpy, Window win, GC gc,
