union plan node memory leak