diff options
author | Matus Fabian <matfabia@cisco.com> | 2024-10-28 10:30:16 +0100 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2024-10-28 16:18:14 +0000 |
commit | cdb3136fad5817a28bb07dc9ad64db8f6ae62abb (patch) | |
tree | 9b9fbb245674c76d1c899f9faac80d38e58a71b6 /src/plugins | |
parent | 0dd47bcf2b0e265c3d27fdc60b49e41be804f78a (diff) |
http_static: always free ext_cfg
Type: fix
Change-Id: I655e93c0f1e1de65d6d3c3e0976e25a7ce11aafc
Signed-off-by: Matus Fabian <matfabia@cisco.com>
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/hs_apps/http_client_cli.c | 1 | ||||
-rw-r--r-- | src/plugins/http_static/static_server.c | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/hs_apps/http_client_cli.c b/src/plugins/hs_apps/http_client_cli.c index e22e2ba3087..861af7f03e2 100644 --- a/src/plugins/hs_apps/http_client_cli.c +++ b/src/plugins/hs_apps/http_client_cli.c @@ -381,6 +381,7 @@ hcc_connect_rpc (void *rpc_args) if (rv) clib_warning (0, "connect returned: %U", format_session_error, rv); + session_endpoint_free_ext_cfgs (&a->sep_ext); vec_free (a); return rv; } diff --git a/src/plugins/http_static/static_server.c b/src/plugins/http_static/static_server.c index 8133bbf2382..d1ece75ce37 100644 --- a/src/plugins/http_static/static_server.c +++ b/src/plugins/http_static/static_server.c @@ -835,8 +835,7 @@ hss_listen (void) rv = vnet_listen (a); - if (need_crypto) - session_endpoint_free_ext_cfgs (&a->sep_ext); + session_endpoint_free_ext_cfgs (&a->sep_ext); return rv; } |