mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 18:03:04 +01:00
Fixed some AV's reported privately
This commit is contained in:
parent
13e0341fea
commit
7cb28a7af6
@ -1758,7 +1758,10 @@ JAttachment* FB_CARG JProvider::attachDatabase(IStatus* user_status, const char*
|
||||
|
||||
dbb->dbb_sync.lock(NULL, SYNC_EXCLUSIVE);
|
||||
dbbGuard.unlock();
|
||||
attachment->att_interface = NULL;
|
||||
|
||||
if (attachment) {
|
||||
attachment->att_interface = NULL;
|
||||
}
|
||||
unwindAttach(tdbb, ex, user_status, attachment, dbb);
|
||||
}
|
||||
}
|
||||
@ -2606,7 +2609,9 @@ JAttachment* FB_CARG JProvider::createDatabase(IStatus* user_status, const char*
|
||||
dbb->dbb_sync.lock(NULL, SYNC_EXCLUSIVE);
|
||||
dbbGuard.unlock();
|
||||
|
||||
attachment->att_interface = NULL;
|
||||
if (attachment) {
|
||||
attachment->att_interface = NULL;
|
||||
}
|
||||
unwindAttach(tdbb, ex, user_status, attachment, dbb);
|
||||
}
|
||||
}
|
||||
|
@ -5008,6 +5008,7 @@ void Dispatcher::shutdown(IStatus* userStatus, unsigned int timeout, const int r
|
||||
|
||||
if (service->provider)
|
||||
{
|
||||
service->next = NULL;
|
||||
PluginManagerInterfacePtr()->releasePlugin(service->provider);
|
||||
service->provider = NULL;
|
||||
}
|
||||
@ -5031,6 +5032,7 @@ void Dispatcher::shutdown(IStatus* userStatus, unsigned int timeout, const int r
|
||||
|
||||
if (attachment->provider)
|
||||
{
|
||||
attachment->next = NULL;
|
||||
PluginManagerInterfacePtr()->releasePlugin(attachment->provider);
|
||||
attachment->provider = NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user