[fcitx, kimpanel] fix dangling pointer..