diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2024-08-08 14:04:42 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2024-08-08 14:24:59 -0400 |
| commit | 208c53c90e06843b741839c65cb438764ecd5e4d (patch) | |
| tree | f8c5b3c63fbe71e7e459d28e9e231ef318cd9c89 /lib/agentx.c | |
| parent | db986aded4eb6b3bd76010c196378f43b6e02015 (diff) | |
isisd, lib: Cleanup linked list associated with snmp
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib/agentx.c')
| -rw-r--r-- | lib/agentx.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/agentx.c b/lib/agentx.c index 19f2a6b7fc..2e621d06a4 100644 --- a/lib/agentx.c +++ b/lib/agentx.c @@ -377,4 +377,9 @@ void smux_events_update(void) agentx_events_update(); } +void smux_terminate(void) +{ + if (events) + list_delete(&events); +} #endif /* SNMP_AGENTX */ |
