The shadows of the Plasma styled tooltips are leaking 8 X Pixmaps each time they are shown. Reproducible: Always Steps to Reproduce: 1. Install xrestop 2. start xrestop 3. search for plasma and write down the number of "Pxms" used by plasma 4. quit xrestop (q) 5. Trigger a Plasma tooltip by e.g. hovering over the clock 6. start xrestop again 7. compare number of "Pxms" with the previous one. It should have increased by eight Actual Results: leak of 8 pixmaps Expected Results: no leak
Git commit b29820e09a0a0e355f6c8e743ca142af89118290 by Martin Gräßlin. Committed on 20/04/2013 at 15:45. Pushed by graesslin into branch 'KDE/4.10'. Fix X pixmap leak in shadow handling code Some X pixmaps were never free-ed. The code got a little bit cleaned up by ensuring that the X Pixmap for the QPixmap is always created. This makes sense as we can be pretty sure that we are on the raster graphics system. FIXED-IN: 4.10.3 REVIEW: 110029 M +32 -20 plasma/private/dialogshadows.cpp http://commits.kde.org/kdelibs/b29820e09a0a0e355f6c8e743ca142af89118290