Addons: XMLtagging: Try to fix a memory leak