http_static: always free ext_cfg
Type: fix Change-Id: I655e93c0f1e1de65d6d3c3e0976e25a7ce11aafc Signed-off-by: Matus Fabian <matfabia@cisco.com>
This commit is contained in:

committed by
Florin Coras

parent
0dd47bcf2b
commit
cdb3136fad
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user