summaryrefslogtreecommitdiff
path: root/irc/xchat/files/patch-xc284-fix-scrollbfdleak
diff options
context:
space:
mode:
Diffstat (limited to 'irc/xchat/files/patch-xc284-fix-scrollbfdleak')
-rw-r--r--irc/xchat/files/patch-xc284-fix-scrollbfdleak14
1 files changed, 14 insertions, 0 deletions
diff --git a/irc/xchat/files/patch-xc284-fix-scrollbfdleak b/irc/xchat/files/patch-xc284-fix-scrollbfdleak
new file mode 100644
index 000000000000..32963cbf10b0
--- /dev/null
+++ b/irc/xchat/files/patch-xc284-fix-scrollbfdleak
@@ -0,0 +1,14 @@
+#
+# Scrollback shrinking code forgets to close().
+#
+--- src/common/text.c 2007-06-13 19:59:56.000000000 +1000
++++ src/common/text.c 2007-11-02 23:52:57.000000000 +1100
+@@ -141,6 +146,7 @@
+ }
+
+ *len = st.st_size;
++ close (fh);
+ return buf;
+ }
+
+