mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-05 03:41:53 +00:00
revert part of last patch
This commit is contained in:
+3
-1
@@ -605,8 +605,10 @@ SWITCH_DECLARE(switch_odbc_status_t) switch_odbc_handle_callback_exec_detailed(c
|
||||
free(vals);
|
||||
}
|
||||
|
||||
SQLFreeHandle(SQL_HANDLE_STMT, stmt);
|
||||
stmt = NULL; /* Make sure we don't try to free this handle again */
|
||||
|
||||
if (!err_cnt) {
|
||||
SQLFreeHandle(SQL_HANDLE_STMT, stmt);
|
||||
return SWITCH_ODBC_SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user