Libevent HiRedis HTTP Server : Memory Leak in evhttp_send_reply

475 Views Asked by At

I'm running the code located here which runs a simple HTTP Server using Libevent.

I ran a simple valgrind with the binary, and here's the output, which shows a leak towards evhttp_send_reply & evhttp_make_header :: L349 && L350

The leak shows a memory leak inside the libevent evhttp_send_reply & evhttp_make_header which surprises me, unless I've got something really wrong here.

can you see, what i've been doing wrong here.. ?

0

There are 0 best solutions below