mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-02-02 09:20:39 +01:00
Fix for #8101
This commit is contained in:
parent
b49d832c67
commit
cf1cddc613
@ -605,7 +605,7 @@ namespace
|
||||
FbLocalStatus ls;
|
||||
IPluginBase* plugin = module->getPlugin(regPlugin).factory->createPlugin(&ls, par);
|
||||
|
||||
if (!(ls->getState() & Firebird::IStatus::STATE_ERRORS))
|
||||
if (plugin && !(ls->getState() & Firebird::IStatus::STATE_ERRORS))
|
||||
{
|
||||
plugin->setOwner(par);
|
||||
return plugin;
|
||||
|
Loading…
Reference in New Issue
Block a user