. . . "where he is a surety, by accepting or agreeing to accept a fee or any form of indemnity whether in whole or in part from or in respect of a person who is released or is to be released from custody, is guilty of (c)" . .