section 503(4)


503(4) A peace officer or an officer in charge having the custody of a person who has been arrested without warrant as a person about to commit an indictable offence shall release that person unconditionally as soon as practicable after he is satisfied that the continued detention of that person in custody is no longer necessary in order to prevent the commission by him of an indictable offence.