loentar / ngrest

Fast and easy C++ RESTful WebServices framework
Apache License 2.0
465 stars 94 forks source link

Fixing memory pool allocation bug (refs #58) #59

Closed rubiot closed 6 years ago

rubiot commented 6 years ago

Fixing a couple of problems with the method MemPool::newChunk(). (1) chunksCount was not incremented when a chunk was used; (2) the test that checked if still there were chunks allocated checked against the wrong variable.

loentar commented 6 years ago

Thank you for this pull request, looks like it fixes #58.

rubiot commented 6 years ago

You're welcome!