1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 01:03:01 +00:00

fix minor memory leaks introduced in the last couple of days

This commit is contained in:
Charles Kerr 2007-08-18 22:35:09 +00:00
parent f6973227ac
commit 8f78b809d1
2 changed files with 2 additions and 0 deletions

View file

@ -313,6 +313,7 @@ void tr_metainfoFree( tr_info_t * inf )
tr_free( inf->pieces );
tr_free( inf->files );
tr_free( inf->primaryAddress );
for( i=0; i<inf->trackerTiers; ++i ) {
for( j=0; j<inf->trackerList[i].count; ++j )

View file

@ -106,6 +106,7 @@ readFromPipe( int fd, short eventType UNUSED, void * unused UNUSED )
read( fd, &uri, sizeof(char*) );
tr_dbg( "read http req from pipe: req.cb_arg is %p", req->cb_arg );
evhttp_make_request( evcon, req, type, uri );
tr_free( uri );
break;
default: