There is one resource used in Fileinfo extension: a magic database descriptor returned by finfo_open.