Skip to content
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: fix multiple double free on shutdown caught with memlog=1 #754

Merged
merged 1 commit into from Aug 22, 2016

Conversation

dragos-oancea
Copy link

These small changes fix the bug shown below and another potential one.

kamailio[3062]: : [mem/q_malloc.c:453]: qm_free(): BUG: qm_free: freeing already freed pointer (0x7facf958dc08), called from presence: hash.c: delete_shtable(316), first free presence: hash.c: free_subs_list(349) - aborting

It's the double free apocalypse day :)

@miconda
Copy link
Member

miconda commented Aug 22, 2016

Thanks!

@miconda miconda merged commit 9f16a7f into kamailio:master Aug 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants