wernerd / ZRTPCPP

C++ Implementation of ZRTP protocol - GNU ZRTP C++
Other
116 stars 50 forks source link

Memory leak in zrtp_getAlgorithmNames #51

Open oleksandr-vovk opened 1 year ago

oleksandr-vovk commented 1 year ago

Memory leak was detected using Valgrind-3.19.0 ==550626== 216 (24 direct, 192 indirect) bytes in 1 blocks are definitely lost in loss record 87 of 110 ==550626== at 0x4C378C3: operator new(unsigned long) (vg_replace_malloc.c:422) ==550626== by 0x5EE4628: EnumBase::getAllNames[abi:cxx11]() (in /usr/lib64/libzrtpcpp.so.4.4.0) ==550626== by 0x5EE5CAE: zrtp_getAlgorithmNames (in /usr/lib64/libzrtpcpp.so.4.4.0) Calling zrtp_freeAlgorithmNames() does not free memory.

oleksandr-vovk commented 6 months ago

Hello @wernerd! Please, bring your attention to this issue and share your feedback.

Thank you.