diff options
author | Florin Coras <fcoras@cisco.com> | 2021-06-29 13:27:45 -0700 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2021-06-29 21:26:59 +0000 |
commit | 3001c0344e4fce34b824df988ced2c8ccbee82e3 (patch) | |
tree | 707d244512d918b49842122cb8b516534122b15a /src | |
parent | f68dcb720cfbbfb0eee7084219af45b35bd0615f (diff) |
session: free ctrl event data on connect rpc
Type: fix
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I56c4682aef59ed0e69073f9001341c425e65bd48
(cherry picked from commit 595724a49072b30356e365ce78a3cc815980d342)
Diffstat (limited to 'src')
-rw-r--r-- | src/vnet/session/session_node.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/session/session_node.c b/src/vnet/session/session_node.c index dd9b2f0f740..6822f26559c 100644 --- a/src/vnet/session/session_node.c +++ b/src/vnet/session/session_node.c @@ -227,6 +227,7 @@ session_mq_handle_connects_rpc (void *arg) next = clib_llist_next (fwrk->event_elts, evt_list, elt); clib_llist_remove (fwrk->event_elts, evt_list, elt); session_mq_connect_one (session_evt_ctrl_data (fwrk, elt)); + session_evt_ctrl_data_free (fwrk, elt); clib_llist_put (fwrk->event_elts, elt); elt = next; n_connects += 1; |