Correctly free filters