xchat/xc284-fix-scrollbfdleak.diff
Kevin Kofler 4a63c8002f Sync from devel:
2.8.4-10
- Rebuild
2.8.4-9
- xchat-2.8.4-shm-pixmaps.patch: MIT-SHM pixmaps are optional, and when
    using EXA they are not available. Check that the server supports them
    before trying to create them so we don't crash.
2.8.4-8
- apply xc284-fix-scrollbfdleak.diff from upstream
2.8.4-7
- Fix the icon key in the .desktop file to validate
2008-01-13 08:19:26 +00:00

14 lines
275 B
Diff

#
# 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;
}