qtmux: Fix memory leak on atoms recovery function