mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-13 20:50:41 +00:00
FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for switch_limit.c
This commit is contained in:
parent
8d7c70f91a
commit
0893418d8b
@ -47,9 +47,7 @@ static switch_limit_interface_t *get_backend(const char *backend) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void release_backend(switch_limit_interface_t *limit) {
|
static void release_backend(switch_limit_interface_t *limit) {
|
||||||
if (limit) {
|
UNPROTECT_INTERFACE(limit);
|
||||||
UNPROTECT_INTERFACE(limit);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
SWITCH_DECLARE(void) switch_limit_init(switch_memory_pool_t *pool) {
|
SWITCH_DECLARE(void) switch_limit_init(switch_memory_pool_t *pool) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user