1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-01-31 11:23:40 +00:00

(trunk libT) fix minor memory leak reported by rpc-server.c

This commit is contained in:
Jordan Lee 2011-03-13 00:35:11 +00:00
parent 3cfef5eded
commit 5ad95ee3d5

View file

@ -431,7 +431,7 @@ serve_file( struct evhttp_request * req,
{
void * file;
size_t file_len;
struct evbuffer * content = evbuffer_new( );
struct evbuffer * content;
const int error = errno;
errno = 0;