summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-irc/xchat/files/xc284-fix-scrollbfdleak.diff')
-rw-r--r--net-irc/xchat/files/xc284-fix-scrollbfdleak.diff14
1 files changed, 14 insertions, 0 deletions
diff --git a/net-irc/xchat/files/xc284-fix-scrollbfdleak.diff b/net-irc/xchat/files/xc284-fix-scrollbfdleak.diff
new file mode 100644
index 000000000000..a5dbf2aade4f
--- /dev/null
+++ b/net-irc/xchat/files/xc284-fix-scrollbfdleak.diff
@@ -0,0 +1,14 @@
+#
+# 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;
+ }
+
+