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:
parent
3cfef5eded
commit
5ad95ee3d5
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue