]> granicus.if.org Git - transmission/commitdiff
(libT) fix memory leak regression in the nightlies reported by x190
authorJordan Lee <jordan@transmissionbt.com>
Sun, 17 Feb 2013 23:00:11 +0000 (23:00 +0000)
committerJordan Lee <jordan@transmissionbt.com>
Sun, 17 Feb 2013 23:00:11 +0000 (23:00 +0000)
libtransmission/web.c

index 77dd17da165125d0d3aca8eadef51e18231bc3e5..9fcc96f2f3a997e66615712e97986aee0ddd472d 100644 (file)
@@ -270,7 +270,6 @@ tr_webRunWithBuffer (tr_session         * session,
             tr_wait_msec (20);
         }
       
-      task = tr_new0 (struct tr_web_task, 1);
       task = tr_new0 (struct tr_web_task, 1);
       task->session = session;
       task->url = tr_strdup (url);