mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 11:16:33 +03:00
Removes referece count from audit logs
This commit is contained in:
@@ -183,18 +183,6 @@ class AuditLog {
|
||||
std::string m_path2;
|
||||
std::string m_storage_dir;
|
||||
|
||||
void refCountIncrease() {
|
||||
m_refereceCount++;
|
||||
}
|
||||
|
||||
bool refCountDecreaseAndCheck() {
|
||||
m_refereceCount--;
|
||||
if (m_refereceCount == 0) {
|
||||
delete this;
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
AuditLogFormat m_format;
|
||||
|
||||
protected:
|
||||
@@ -215,7 +203,6 @@ class AuditLog {
|
||||
std::string m_relevant;
|
||||
|
||||
audit_log::writer::Writer *m_writer;
|
||||
int m_refereceCount;
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user