-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memory leak when trying to restart the ZRTP #27
Comments
I cannot confirm this. In the shown function the sequence is: ... As you can see the instance variable 'key' gets the pointer of the 'new' operator. Werner Am 22.10.2015 um 06:30 schrieb sahara108:
Werner Dittmann |
This is similar to your first report. The destructor takes care of deallocation. Similar to the bigbytes code as I can see this. It's the bnEnd function that takes Werner Am 23.10.2015 um 09:13 schrieb sahara108:
Werner Dittmann |
This one is a bit more complex :-) When adding algorithms to the configuration (standard or mandatory) then the The ZrtpConfigure::clear function clears the vectors and the store pointers. Werner Am 23.10.2015 um 09:14 schrieb sahara108:
Werner Dittmann |
Ok, I will investigate more about the first one. For the second one, did you mean the zrtp_DestroyWrapper will take care of the deallocation. zrtp_stopZrtpEngine(fabZrtp->zrtpCtx); Do I need any extra step? |
Am 23.10.2015 um 11:05 schrieb sahara108:
Yes, this should do it. Destroy wrapper deletes the allocated objects and their Actually, some other parties and projects did memory leakage tests, statically as well Werner
Werner Dittmann |
The text was updated successfully, but these errors were encountered: