[ https://issues.apache.org/jira/browse/TS-4696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15397262#comment-15397262 ]
taoyunxing commented on TS-4696: -------------------------------- Indeed, there exist two places return without releasing the mutex. > CID 1267824: Missing unlock in mgmt/Alarms.cc > --------------------------------------------- > > Key: TS-4696 > URL: https://issues.apache.org/jira/browse/TS-4696 > Project: Traffic Server > Issue Type: Bug > Reporter: Tyler Stroh > Assignee: Tyler Stroh > Fix For: 7.0.0 > > > {code} > 2. lock: ink_mutex_acquire locks this->mutex. [show details] > ink_mutex_acquire(&mutex); > if (!((n + (int)strlen("type: alarm\n")) < max)) { > if (max >= 1) { > message[0] = '\0'; > } > CID 1267824 (#1 of 1): Missing unlock (LOCK) > 5. missing_unlock: Returning without unlocking this->mutex. > return; > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)