Qihoo360 / evpp

A modern C++ network library for developing high performance network services in TCP/UDP/HTTP protocols.
BSD 3-Clause "New" or "Revised" License
3.61k stars 946 forks source link

Potential memory leak in apps/evmc/extract_vbucket_conf.cc #301

Closed icy17 closed 1 year ago

icy17 commented 1 year ago

Potential memory leak in extract_vbucket_conf.cc line 53 Calling evhttp_request_new() without calling evhttp_request_free() to free the memory will cause a memory leak. Doc says "evhttp_request_free frees the request object and removes associated events." image

icy17 commented 1 year ago

My mistake, there is no leak.