mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-17 14:58:34 +00:00
FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for switch_xml_config.c
This commit is contained in:
1 parent
0ac27178f8
commit
2bf545a18b
1 file changed
+1
-1
@@ -316,7 +316,7 @@ SWITCH_DECLARE(switch_status_t) switch_xml_config_parse_event(switch_event_t *ev
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (*dest) {
|
if (*dest) {
|
||||||
switch_safe_free(*dest);
|
free(*dest);
|
||||||
changed = SWITCH_TRUE;
|
changed = SWITCH_TRUE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user