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 20:22:51 +0000 |
commit | 595724a49072b30356e365ce78a3cc815980d342 (patch) | |
tree | b59f9aba73f82c21bd46ca5dc4493b0386515e29 /src | |
parent | 5b8911020ee5512d76c8daccaa199878ed7cbc01 (diff) |
session: free ctrl event data on connect rpc
Type: fix
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I56c4682aef59ed0e69073f9001341c425e65bd48
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 810c75061af..8817b08f3d2 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; |