The function ipc_binary_proto_new() allocates data of the internally declared type that has a field named 'cmds'. This field contains a pointer to the dynamically either allocated or deallocated region by ipc_binary_proto_add_cmd().
It looks like there isn't a function that is intended to free resources allocated by both functions mentioned above.
The function
ipc_binary_proto_new()
allocates data of the internally declared type that has a field named 'cmds'. This field contains a pointer to the dynamically either allocated or deallocated region byipc_binary_proto_add_cmd()
.It looks like there isn't a function that is intended to free resources allocated by both functions mentioned above.