KXmlGuiWindow needs the variables to be created on the Heap.
This fixes a double-free.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>