mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-30 15:14:17 +00:00
fix some small mem leaks
This commit is contained in:
1 parent
25fe16dfed
commit
44450cb013
5 files changed
+165
-107
No files matched your search
@@ -4920,6 +4920,7 @@ int sofia_glue_init_sql(sofia_profile_t *profile)
|
||||
switch_odbc_handle_exec(odbc_dbh, dialog_sql, NULL, NULL);
|
||||
}
|
||||
|
||||
free(test_sql);
|
||||
test_sql = switch_mprintf("delete from sip_presence where hostname='%q' ", mod_sofia_globals.hostname);
|
||||
|
||||
if (switch_odbc_handle_exec(odbc_dbh, test_sql, NULL, NULL) != SWITCH_ODBC_SUCCESS) {
|
||||
|
||||
Reference in new issue
Block a user