diff --git a/src/switch_odbc.c b/src/switch_odbc.c index bccf94a89f..afadbde171 100644 --- a/src/switch_odbc.c +++ b/src/switch_odbc.c @@ -528,7 +528,6 @@ SWITCH_DECLARE(switch_odbc_status_t) switch_odbc_handle_callback_exec_detailed(c if (err) { *err = err_str; } else { - *err = NULL; free(err_str); } }