anlsys / libnrm

Node Resource Manager communication library
BSD 3-Clause "New" or "Revised" License
7 stars 0 forks source link

[feature] proper nrm_msg_destroy API #54

Closed perarnau closed 1 year ago

perarnau commented 1 year ago

Create two nrm_msg_destroy functions, depending on whether we received the msg from unpacking a protobuf-encoded zmq message, or created the msg ourselves.

Call the new API everywhere as needed.

Tested with a bunch of valgrind leak checks on live processes, both nrmd and nrmc.