Changeset 13203
- Timestamp:
- Feb 4, 2012, 3:09:31 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/torrent.c
r13080 r13203 2834 2834 for( f=0; f<tor->info.fileCount; ++f ) 2835 2835 { 2836 char * dir;2837 char * filename;2838 2839 2836 /* get the directory that this file goes in... */ 2840 filename = tr_buildPath( top, tor->info.files[f].name, NULL ); 2841 dir = tr_dirname( filename ); 2842 tr_free( filename ); 2837 char * filename = tr_buildPath( top, tor->info.files[f].name, NULL ); 2838 char * dir = tr_dirname( filename ); 2843 2839 if( !tr_is_same_file( top, dir ) && strcmp( top, dir ) ) { 2844 2840 for( ;; ) { … … 2854 2850 } 2855 2851 } 2852 tr_free( dir ); 2853 tr_free( filename ); 2856 2854 } 2857 2855 for( i=0, n=tr_ptrArraySize(&folders); i<n; ++i )
Note: See TracChangeset
for help on using the changeset viewer.