[sr-dev] [kamailio/kamailio] ucontacts in shared memory even on DB_ONLY (#997)

Victor Seva notifications at github.com
Fri Feb 17 11:35:34 CET 2017


There will be still an issue after merging #998 but the situation will improved, there will be less leaks. 

without the patch in a REGISTER/UPDATE REGISTER/UNREGISTER scenario I get left
```
Feb 17 11:20:52 sp1 proxy[12364]: NOTICE: fm_status:  count=    30 size=      1416 bytes from usrloc: ../../ut.h: shm_str_dup(723)
Feb 17 11:20:52 sp1 proxy[12364]: NOTICE: fm_status:  count=     5 size=      1160 bytes from usrloc: ucontact.c: new_ucontact(98)
```

with the patch

```
Feb 17 11:32:36 sp1 proxy[24941]: NOTICE: fm_status:  count=    18 size=       840 bytes from usrloc: ../../ut.h: shm_str_dup(723)
Feb 17 11:32:36 sp1 proxy[24941]: NOTICE: fm_status:  count=     3 size=       992 bytes from usrloc: ucontact.c: new_ucontact(98)

```

3 ``ucontacts`` from every REGISTER message received and not freed after ul_callbacks 

-- 
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/issues/997#issuecomment-280615405
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20170217/5689acd1/attachment.html>


More information about the sr-dev mailing list