[fcitx] fix memory leak here and there