apply patch to fix memory leak that shouldn't exist
Mark Tiefenbruck mark@fluxbox.org
1 files changed,
2 insertions(+),
0 deletions(-)
jump to
M
src/Ewmh.cc
→
src/Ewmh.cc
@@ -108,6 +108,8 @@ // actually there is some data in _NET_WM_ICON
nr_icon_data = nr_bytes_left / sizeof(CARD32); // read all the icons stored in _NET_WM_ICON + if (raw_data) + XFree(raw_data); winclient.property(net_wm_icon, 0L, nr_icon_data, False, XA_CARDINAL, &rtype, &rfmt, &nr_read, &nr_bytes_left, reinterpret_cast<unsigned char**>(&raw_data));