Commit 11c8b317542c86eca2cca585d31f93da285c10a7

Nick Mathewson 2012-07-17T11:08:25

Fix a memory leak on error in evhttp_uriencode If we ran out of memory in evhttp_uriencode when allocating the output buffer, we would neglect to call evbuffer_free() on our temporary buffer. Now we always free the temporary buffer. Fixes sourceforge issue 3539887. Thanks to Andrew Cox for reporting this one.