Destroy callback objects in the sync callback on client-side.
authorLaszlo Agocs <laszlo.p.agocs@nokia.com>
Sun, 11 Dec 2011 18:31:58 +0000 (20:31 +0200)
committerJørgen Lind <jorgen.lind@nokia.com>
Mon, 12 Dec 2011 08:49:06 +0000 (09:49 +0100)
commitee1ba9e63ce105427d72276e0ebe3ef63384b5f5
treedf9e48c800381b6c7648c14962c272aecebca565
parent95e2ed54a0065344b788f9ad1725fd7cd1ae5af5
Destroy callback objects in the sync callback on client-side.

Previously these were leaked, resulting in obscure "server sent live
delete_id" messages sometimes (esp. with selection offers).

Change-Id: Ida07b5c206ed8a8e4f68f9a8b651a176c45101ff
Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
src/plugins/platforms/wayland/gl_integration/xcomposite_glx/qwaylandxcompositeglxwindow.cpp
src/plugins/platforms/wayland/qwaylanddataoffer.cpp
src/plugins/platforms/wayland/qwaylanddisplay.cpp