mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-05-31 18:55:49 +00:00
MODLANG-161
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16844 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
ec90b19af5
commit
f91b3310b3
@ -464,6 +464,11 @@ static JSBool odbc_disconnect(JSContext * cx, JSObject * obj, uintN argc, jsval
|
|||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (odbc_obj->stmt) {
|
||||||
|
SQLFreeHandle(SQL_HANDLE_STMT, odbc_obj->stmt);
|
||||||
|
odbc_obj->stmt = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
switch_odbc_handle_disconnect(odbc_obj->handle);
|
switch_odbc_handle_disconnect(odbc_obj->handle);
|
||||||
|
|
||||||
done:
|
done:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user