I was working with this library in a project and noticed that there is a memory leak in createAndExecuteCommand: the command is allocated on the heap and never deleted.
It's a slow leak, but the fix is simple enough. I tested this on my system (Ubuntu 18.04, MS3 Pro 5.5 meter) and verified I could still receive UDP and send/receive TCP data with this change.
Hello!
I was working with this library in a project and noticed that there is a memory leak in createAndExecuteCommand: the command is allocated on the heap and never deleted.
It's a slow leak, but the fix is simple enough. I tested this on my system (Ubuntu 18.04, MS3 Pro 5.5 meter) and verified I could still receive UDP and send/receive TCP data with this change.