mongoose-cpp
mongoose-cpp copied to clipboard
Memory leak
Memory leak in RequestHandler.h file: 29 this allocating a Response and Controller.cpp file: allocating another 113 this Response. At the end apens one will be deleted causing a memory leak.
My suggestion is to move the Controller method :: serverInternalError the Controller class to RequestHandler class, I'll implentar this and commit on my fork.
Would you mind making a pull request?
pull request: https://github.com/Gregwar/mongoose-cpp/pull/23