Changeset 9757


Ignore:
Timestamp:
Dec 14, 2009, 5:46:00 PM (12 years ago)
Author:
charles
Message:

(trunk libT) fix minor memory leak in libtransmission/tr-dht.c, found by valgrind

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/tr-dht.c

    r9720 r9757  
    188188    if(!bootstrap_done(cl->session, 0)) {
    189189        char *bootstrap_file;
    190         FILE *f = NULL;
     190        FILE *f;
    191191
    192192        bootstrap_file =
     
    222222            }
    223223        }
     224
     225        tr_free( bootstrap_file );
    224226    }
    225227
Note: See TracChangeset for help on using the changeset viewer.