st-hal: fix mem leak issue

When processing a non va detection event, local_event
could be allocated two times without releasing the first
one, thus causing mem leak issue.
Remove the unnecessary allocation for non va detection
event.

Change-Id: I9b86de025e13b2cb5eef6db124c5a462f8ec03e4
1 file changed