xwma: Do not leak on failure path