0

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.. ?

user1460887
  • 245
  • 1
  • 2
  • 10
  • Please do not post links to the code, but include the relevant code in the question. So please edit the question to include the function, and please point out line 349 and 350. – Some programmer dude Aug 11 '13 at 17:57
  • @JoachimPileborg the code is "only a sample", and is from another SO post [here](http://stackoverflow.com/questions/9958589/async-redis-pooling-using-lib-event) – user1460887 Aug 12 '13 at 02:59

0 Answers0