mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-09 17:26:03 +00:00
It's probably a good idea to free the result before we check for another.
This commit is contained in:
parent
f059d97ff8
commit
162181a86f
@ -653,6 +653,7 @@ SWITCH_DECLARE(switch_pgsql_status_t) switch_pgsql_handle_callback_exec_detailed
|
||||
free(names);
|
||||
free(vals);
|
||||
}
|
||||
switch_pgsql_free_result(&result);
|
||||
if (switch_pgsql_next_result(handle, &result) == SWITCH_PGSQL_FAIL) {
|
||||
err_cnt++;
|
||||
err_str = switch_pgsql_handle_get_error(handle);
|
||||
|
Loading…
x
Reference in New Issue
Block a user