Module: kamailio
Branch: 4.3
Commit: 9083ac32755565a97421d2b6100bc477c19175f5
URL:
https://github.com/kamailio/kamailio/commit/9083ac32755565a97421d2b6100bc47…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-10-01T16:32:48+02:00
dialog: release remote profile lock on remove operation
(cherry picked from commit 04bd28fffdfed05dda9a8fff41b220a3bb008a17)
---
Modified: modules/dialog/dlg_profile.c
---
Diff:
https://github.com/kamailio/kamailio/commit/9083ac32755565a97421d2b6100bc47…
Patch:
https://github.com/kamailio/kamailio/commit/9083ac32755565a97421d2b6100bc47…
---
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;