zmanda / amanda

Amanda Network Backup
https://www.zmanda.com/downloads/
Other
214 stars 107 forks source link

Is there a function to free resources allocated by ipc_binary_proto_new() ? #217

Open pkopylov opened 1 year ago

pkopylov commented 1 year ago

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.