mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-14 05:18:31 +00:00
FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for switch_limit.c
This commit is contained in:
1 parent
8d7c70f91a
commit
0893418d8b
1 file changed
+1
-3
+1
-3
@@ -47,9 +47,7 @@ static switch_limit_interface_t *get_backend(const char *backend) {
|
||||
}
|
||||
|
||||
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) {
|
||||
|
||||
Reference in new issue
Block a user