[sr-dev] git:master:04bd28ff: dialog: release remote profile lock on remove operation
Daniel-Constantin Mierla
miconda at gmail.com
Thu Oct 1 16:31:54 CEST 2015
Module: kamailio
Branch: master
Commit: 04bd28fffdfed05dda9a8fff41b220a3bb008a17
URL: https://github.com/kamailio/kamailio/commit/04bd28fffdfed05dda9a8fff41b220a3bb008a17
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at 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/04bd28fffdfed05dda9a8fff41b220a3bb008a17.diff
Patch: https://github.com/kamailio/kamailio/commit/04bd28fffdfed05dda9a8fff41b220a3bb008a17.patch
---
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;
More information about the sr-dev
mailing list