mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 03:34:29 +03:00
Makes @geoLookup optional depending on the availability of libGeoIP
This commit is contained in:
@@ -58,7 +58,9 @@ ModSecurity::~ModSecurity() {
|
||||
#ifdef MSC_WITH_CURL
|
||||
curl_global_cleanup();
|
||||
#endif
|
||||
#ifdef WITH_GEOIP
|
||||
Utils::GeoLookup::getInstance().cleanUp();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user