]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for switch_xml_config.c
authorAndrey Volk <andywolk@gmail.com>
Fri, 12 Jul 2019 16:50:24 +0000 (20:50 +0400)
committerAndrey Volk <andywolk@gmail.com>
Mon, 15 Jul 2019 19:46:07 +0000 (23:46 +0400)
src/switch_xml_config.c

index ffccfff98daa6c0c7d90691340bccc8fe5cd09ea..21a6af38affb816ecb5a31eae12460812e5a08be 100644 (file)
@@ -316,7 +316,7 @@ SWITCH_DECLARE(switch_status_t) switch_xml_config_parse_event(switch_event_t *ev
                                                }
                                        } else {
                                                if (*dest) {
-                                                       switch_safe_free(*dest);
+                                                       free(*dest);
                                                        changed = SWITCH_TRUE;
                                                }
                                        }