Fix memory leak for SNEP and Handover