You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When Z_FEATURE_RX_CACHE = 0 and an unhandled query is received, the function _z_trigger_queryables_inner() in session/queryable.c drops the keyexpr, but leaks the infos vector.
I think it should be:
....
if (qle_infos.qle_nb == 0) {
_z_keyexpr_clear(&qle_infos.ke_out);
#if Z_FEATURE_RX_CACHE != 1
_z_queryable_infos_svec_release(&qle_infos.infos); // Otherwise it's released with cache
#endif
return _Z_RES_OK;
}
....
Is that right?
Thanks
To reproduce
.
System info
.
The text was updated successfully, but these errors were encountered:
Describe the bug
When
Z_FEATURE_RX_CACHE = 0
and an unhandled query is received, the function_z_trigger_queryables_inner()
in session/queryable.c drops the keyexpr, but leaks the infos vector.I think it should be:
Is that right?
Thanks
To reproduce
.
System info
.
The text was updated successfully, but these errors were encountered: