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

kamailio[3062]: : <core> [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 :)

You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/754

-- Commit Summary --

  * presence: fix multiple double free on shutdown caught with memlog=1

-- File Changes --

    M modules/presence/hash.c (11)

-- Patch Links --

https://github.com/kamailio/kamailio/pull/754.patch
https://github.com/kamailio/kamailio/pull/754.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/754
_______________________________________________
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to