8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 13:23:02 +01:00
This commit is contained in:
dimitr 2010-10-14 05:18:24 +00:00
parent 66b4b413da
commit 9c7f9d96ef

View File

@ -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;
} }