entry: fix memory leak issue for atspi