def METHOD_NAME(self, damage):
    DamageDestroy(display=self.display,
                  opcode=self.display.get_extension_major(extname),
                  damage=damage,
                  )
    self.display.free_resource_id(damage)