memory leak in TCustomHTTPModule (fphttp.pp)
## Summary TCustomHTTPModule creates FCORS but doesn't destroy it since it doesn't implement a destructor. ## System Information I'm using fpc 3.2.2 but I see that there's no destructor in trunk either ## Steps to reproduce <!-- How one can reproduce the issue - this is very important! --> Create a project using fpwebfile to serve files, enable heaptrc, request some files, check the memory leak ## Possible fixes Attached a patch that implements the destructor fixing the memory leak.[fphttpmemleak.diff](/uploads/aae72525c7adb7e329f83d250d17569c/fphttpmemleak.diff)
issue