[SR-Users] pua: lock release

Halina Nowak halina at mbdsys.com
Fri May 31 16:47:00 CEST 2013


missing lock release:

--- a/modules/pua/hash.c    Mon May 27 16:42:23 2013 +0200
+++ b/modules/pua/hash.c    Fri May 31 16:36:01 2013 +0200
@@ -339,7 +339,10 @@
      if (temp_dialog)
          delete_htable(temp_dialog, hash_code);
      else
+    {
+ lock_release(&HashT->p_records[hash_code].lock);
          return -1;
+    }

      insert_htable(dialog, hash_code);


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20130531/d2ff0e6d/attachment.html>


More information about the sr-users mailing list