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
presence_dialoginfo: Fix memory leak in dlginfo_agg_nbody. #174
presence_dialoginfo: Fix memory leak in dlginfo_agg_nbody. #174
Conversation
This commit fixes a couple of presence issues (introduced in 80c48e6): * There was a memory leak in dlginfo_agg_nbody. * Bounds checking in dlginfo_agg_nbody was off by 4 (potential stack corruption). * There were 2 PKG allocs, straight after one another while no alloc was needed at all: reduced to 1 optional one. * Replace "dumy" with "dummy" in the vicinity.
(I squashes the two commits into one, just now.) |
presence_dialoginfo: Fix memory leak in dlginfo_agg_nbody.
presence_dialoginfo: Fix memory leak in dlginfo_agg_nbody. (cherry picked from commit 1e02b32)
presence_dialoginfo: Fix memory leak in dlginfo_agg_nbody. (cherry picked from commit 1e02b32)
presence_dialoginfo: Fix memory leak in dlginfo_agg_nbody. (cherry picked from commit 1e02b32)
Many thanks @wdoekes for this fix ! |
Hi, The leak was fixed in my local branch, and I apparently forgot to push it. Apologies. About the bound checking error, the code was cut&pasted from another place in the same file where the same error is still present: Line 165: |
Hi @dsandras , could you also confirm that the applied patch fixes the mem leaks you are aware about ? Thanks and regards, |
Hi, Yes. However, it seems to me that the probability for those leaks to Le 12/03/14 21:59, Bogdan Andrei IANCU a écrit :
Damien SANDRAS Ekiga Project |
This commit fixes a couple of presence issues (introduced in 80c48e6):
corruption).
was needed at all: reduced to 1 optional one.