From 1c00343a020af70cf16daf8d7096ee5876885b4f Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Sun, 8 Jun 2008 04:23:56 +0000 Subject: [PATCH] fix minor memory leak when setting the rpc acl --- libtransmission/rpc-server.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libtransmission/rpc-server.c b/libtransmission/rpc-server.c index 3b4d5568f..c8dddcfb4 100644 --- a/libtransmission/rpc-server.c +++ b/libtransmission/rpc-server.c @@ -359,6 +359,7 @@ tr_rpcSetACL( tr_rpc_server * server, if( isRunning ) startServer( server ); } + tr_free( cidr ); return err; }