fix leak on non-freed list

some leak from scan