fix: db->free_result