db_fini function

 Prototype
 Description