Memory leaks in few places
Brought to you by:
thekeymon
Hi.
We have found few memory leaks in EPI code.
Shortly:
In file EpiAutoNode.cpp you allocate a buffer for 'outbuffer' variable, but you did not free it. Resolved by using 'auto_ptr' container.
File EIConnection.cpp also has a bug, then sometimes memory in heap for 'msgResult' local variable will not be released. To avoid it, I also we also use 'auto_ptr' container
Also, patch file is attached to this message.
EPI version: 0.0.3
Patch to EPI to prevent memory leaks