xcb: Fix a colormap leak
authorUli Schlachter <psychon@znc.in>
Thu, 1 Nov 2012 18:22:18 +0000 (19:22 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 2 Nov 2012 17:07:35 +0000 (18:07 +0100)
commit546abecd8a3db7324c463530df58f45f1e881670
tree5856936f078d60262f79000172eb07c71c6c135b
parent0b1ce5db9e04b4c28713e87306fcea020c3e428b
xcb: Fix a colormap leak

The function createDummyWindow() allocated a colormap, but never freed
it. Freeing it is safe after the window is created.

Change-Id: I4c876568572c9e1e9dde7047850a51917ef3702f
Signed-off-by: Uli Schlachter <psychon@znc.in>
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
src/plugins/platforms/xcb/qglxintegration.cpp