mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-10-01 03:57:47 +03:00
Properly deal with classes destructors
There are some classes such as AuditLog that demands a reference count. That is needed because this class can be used by different instances of the Rules classes.
This commit is contained in:
@@ -69,11 +69,6 @@ bool AuditLogWriterParallel::init() {
|
||||
}
|
||||
|
||||
|
||||
bool AuditLogWriterParallel::close() {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
bool AuditLogWriterParallel::write(Assay *assay, int parts) {
|
||||
FILE *fp;
|
||||
int fd;
|
||||
|
Reference in New Issue
Block a user