CID 308517 (#1 of 1): Missing unlock (LOCK)

Ranier Vf ranier.vf at gmail.com
Tue Jun 11 22:59:37 UTC 2019


description: CID 308517 (#1 of 1): Missing unlock (LOCK)
unit: nxt_unit.c

According Coverity Scan, missing_unlock: Returning without unlocking
lib->mutex.

--- c:\web\nginx\unit\a\src\nxt_unit.c    Mon Jun 10 12:47:35 2019
+++ nxt_unit.c    Tue Jun 11 19:50:59 2019
@@ -3140,6 +3140,7 @@
     }

     nxt_unit_remove_process(ctx, process);
+    pthread_mutex_unlock(&lib->mutex);
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/unit/attachments/20190611/e54d4013/attachment.html>


More information about the unit mailing list