Function: destroy_subscribe_config

C Prototype

aclError aclprofDestroySubscribeConfig(const aclprofSubscribeConfig *profSubscribeConfig)

Python Function

ret = acl.prof.destroy_subscribe_config(subscribe_config)

Function Usage

Destroys data of the aclprofSubscribeConfig type created by the acl.prof.create_subscribe_config call.

Input Description

subscribe_config: int, address object of the aclprofSubscribeConfig type to be destroyed.

Return Value

ret: int, error code.

Restrictions

  • Use this API together with the acl.prof.create_subscribe_config API. Call acl.prof.create_subscribe_config first and then acl.prof.destroy_subscribe_config.
  • If the same aclprofSubscribeConfig repeatedly calls the acl.prof.destroy_subscribe_config API, an error indicating that the memory is freed repeatedly is reported.