mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-16 14:28:34 +00:00
[apr-util] Fix issues reported by scan-build.
This commit is contained in:
1 parent
5378eae101
commit
a7cdf35b60
3 files changed
+6
-4
No files matched your search
@@ -222,7 +222,7 @@ APU_DECLARE(apr_status_t) apr_queue_trypush(apr_queue_t *queue, void *data)
|
||||
}
|
||||
|
||||
if (apr_queue_full(queue)) {
|
||||
rv = apr_thread_mutex_unlock(queue->one_big_mutex);
|
||||
apr_thread_mutex_unlock(queue->one_big_mutex);
|
||||
return APR_EAGAIN;
|
||||
}
|
||||
|
||||
@@ -397,7 +397,7 @@ APU_DECLARE(apr_status_t) apr_queue_trypop(apr_queue_t *queue, void **data)
|
||||
}
|
||||
|
||||
if (apr_queue_empty(queue)) {
|
||||
rv = apr_thread_mutex_unlock(queue->one_big_mutex);
|
||||
apr_thread_mutex_unlock(queue->one_big_mutex);
|
||||
return APR_EAGAIN;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user