An inventory of all instruments, articles or things seized on a search without warrant shall be given to the person arrested and a copy thereof delivered to the judge before whom the person arrested is taken, and thereafter, such instruments, articles or things shall be handled and disposed of in accordance with Sections 108--11 and 108--12 of this Code. If the person arrested is released without a charge being preferred against him all instruments, articles or things seized, other than contraband, shall be returned to him upon release.
725 ILCS 5/108-2