[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [Libevent-users] evhttp_request_free segfaults



On Fri, Feb 5, 2010 at 3:22 PM, fokenrute <fokenrute@xxxxxxxxx> wrote:
> In the other thread, I retrieve the evhttp_request pointer and send a reply
> with evhttp_send_reply, and when  I try to  call evhttp_request_free to
> release memory allocated to the evhttp_request object, it produce a
> segfault.

evhttp_send_reply will free the request object when it's done sending.
  You should not free it yourself.

Niels.
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.