1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-20 21:26:53 +00:00

(cli) #1547: free memory read

This commit is contained in:
Charles Kerr 2008-12-02 02:04:32 +00:00
parent 087f9d75c8
commit eeb05d1489

View file

@ -210,6 +210,8 @@ scrapeDoneFunc( tr_session * session UNUSED,
(char*)host );
--leftToScrape;
tr_free( host );
}
static void
@ -431,7 +433,6 @@ main( int argc,
tr_httpParseURL( scrape, -1, &host, NULL, NULL );
++leftToScrape;
tr_webRun( h, url, NULL, scrapeDoneFunc, host );
tr_free( host );
tr_free( url );
}
}