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/throughput/libevent/client.c

icy17 opened this issue · comments

commented

Potential memory leak in client.c line 74. Calling event_base_new() without calling event_base_free() to free the memory will cause a memory leak.
Doc says "event_base_free deallocate all memory associated with an event_base, and free the base"
image