diff options
| author | Mark Stapp <mjs.ietf@gmail.com> | 2021-08-09 11:57:17 -0400 |
|---|---|---|
| committer | Mark Stapp <mjs.ietf@gmail.com> | 2021-08-19 13:31:33 -0400 |
| commit | 8fd5502b0c2e628b875fdaf1a0ca467f8ba07ce4 (patch) | |
| tree | ec1d1a62ec8ca61b7476f4d6f83d92699a26f9ad /lib/routemap_cli.c | |
| parent | cf2182c013e57fbcb98ff0f42be7f0d1542c51df (diff) | |
lib: avoid double-free in zmq wrapper callbacks
There were paths where the zmq wrapper lib could call user
callbacks that would free the internal context struct, but the
context was then used in the lib code. Use a boolean to avoid
freeing the context within an application callback.
Restore logic that frees the context within the 'cancel' api.
Signed-off-by: Mark Stapp <mjs.ietf@gmail.com>
Diffstat (limited to 'lib/routemap_cli.c')
0 files changed, 0 insertions, 0 deletions
