mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 20:43:04 +01:00
Misc.
This commit is contained in:
parent
66b4b413da
commit
9c7f9d96ef
@ -785,15 +785,13 @@ SecurityClass* SCL_recompute_class(thread_db* tdbb, const TEXT* string)
|
|||||||
|
|
||||||
// Class no long exists - get rid of it!
|
// Class no long exists - get rid of it!
|
||||||
|
|
||||||
const Firebird::MetaName m_string(string);
|
|
||||||
SecurityClassList* list = tdbb->getAttachment()->att_security_classes;
|
SecurityClassList* list = tdbb->getAttachment()->att_security_classes;
|
||||||
if (list && list->locate(m_string))
|
if (list && list->locate(string))
|
||||||
{
|
{
|
||||||
list->fastRemove();
|
list->fastRemove();
|
||||||
delete s_class;
|
delete s_class;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user