Replace obvious mistake pthread_mutex_lock() -> pthread_mutex_unlock()
This commit is contained in:
parent
901c71347f
commit
3ceb49c6d5
1 changed files with 3 additions and 3 deletions
|
@ -264,15 +264,15 @@ extjs_tablemgr(http_connection_t *hc, const char *remain, void *opaque)
|
|||
|
||||
} else {
|
||||
bad:
|
||||
pthread_mutex_lock(dt->dt_dtc->dtc_mutex);
|
||||
pthread_mutex_unlock(dt->dt_dtc->dtc_mutex);
|
||||
return HTTP_STATUS_BAD_REQUEST;
|
||||
|
||||
noaccess:
|
||||
pthread_mutex_lock(dt->dt_dtc->dtc_mutex);
|
||||
pthread_mutex_unlock(dt->dt_dtc->dtc_mutex);
|
||||
return HTTP_STATUS_BAD_REQUEST;
|
||||
}
|
||||
|
||||
pthread_mutex_lock(dt->dt_dtc->dtc_mutex);
|
||||
pthread_mutex_unlock(dt->dt_dtc->dtc_mutex);
|
||||
|
||||
if(in != NULL)
|
||||
htsmsg_destroy(in);
|
||||
|
|
Loading…
Add table
Reference in a new issue