One man has been released without charge after a person “pleasured himself” in front of a school girl – but another remains under investigation.