ui/common: Free message on return