About 240 inmates were freed after armed attackers stormed the facility in Kogi state on Sunday.