Module: sip-router
Branch: master
Commit: 10a655b5545f5170f339a9f18d702f4e85dd5778
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=10a655b…
Author: Alex Hermann <alex(a)speakup.nl>
Committer: Alex Hermann <alex(a)speakup.nl>
Date: Thu Oct 23 17:46:00 2014 +0200
dialog: release lock when profile has been found
---
modules/dialog/dlg_profile.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/dialog/dlg_profile.c b/modules/dialog/dlg_profile.c
index b355ad5..01f3c25 100644
--- a/modules/dialog/dlg_profile.c
+++ b/modules/dialog/dlg_profile.c
@@ -353,6 +353,7 @@ void remove_expired_remote_profiles(time_t te)
lh->next = lh->prev = NULL;
if(lh->linker) shm_free(lh->linker);
p_entry->content--;
+ lock_release(&profile->lock);
return;
}
lh = kh;