Detective challenges charges related to leaking of custody p