Fixed possible memory leak in EARA omnet version