Fix potential memory leak when controller_push_event failed. Signed-off-by: yuchenlin <npes87184@gmail.com>