Qihoo360 / evpp

A modern C++ network library for developing high performance network services in TCP/UDP/HTTP protocols.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Potential memory leak in benchmark/http/libevent/libevent_http_bench.c

icy17 opened this issue · comments

commented

Potential memory leak in libevent_http_bench.c line 87. Calling event_config_new() without calling event_config_free() to free the memory will cause a memory leak.
Doc says "event_config_free deallocates all memory associated with an event configuration object."