Blob Blame History Raw
#
# Scrollback shrinking code forgets to close().
#
--- xchat-2.8.4/src/common/text.c	2007-06-13 19:59:56.000000000 +1000
+++ xchat-2.8.4p1/src/common/text.c	2007-11-02 23:52:57.000000000 +1100
@@ -141,6 +146,7 @@
 	}
 
 	*len = st.st_size;
+	close (fh);
 	return buf;
 }