Module: kamailio
Branch: master
Commit: 04bd28fffdfed05dda9a8fff41b220a3bb008a17
URL:
https://github.com/kamailio/kamailio/commit/04bd28fffdfed05dda9a8fff41b220a…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-10-01T16:31:07+02:00
dialog: release remote profile lock on remove operation
---
Modified: modules/dialog/dlg_profile.c
---
Diff:
https://github.com/kamailio/kamailio/commit/04bd28fffdfed05dda9a8fff41b220a…
Patch:
https://github.com/kamailio/kamailio/commit/04bd28fffdfed05dda9a8fff41b220a…
---
diff --git a/modules/dialog/dlg_profile.c b/modules/dialog/dlg_profile.c
index 39dc1df..9a47082 100644
--- a/modules/dialog/dlg_profile.c
+++ b/modules/dialog/dlg_profile.c
@@ -394,6 +394,7 @@ int remove_profile(dlg_profile_table_t *profile, str *value, str
*puid)
lh->next = lh->prev = NULL;
if(lh->linker) shm_free(lh->linker);
p_entry->content--;
+ lock_release(&profile->lock );
return 1;
}
lh = lh->next;