Skip to content
Snippets Groups Projects
Commit dd2afc92 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Change client_t.protocol from pointer to buffer

Fix observed crash when shutting down services server where the client_t
protocol was pointing to a freed service's protocol description string.

This was the last pointer in client_t and should resolve the last race
conditions (memory ownership issues) with its data members.

This also resolves a small memory leak in getnodeclient() where the last
client "gotten" would have its heap-duplicated protocol string leaked.
parent 10449498
No related branches found
No related tags found
1 merge request!455Update branch with changes from master
Pipeline #6396 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment