fix a small occasional memory leak reported by m1b & clang

This commit is contained in:
Mitchell Livingston 2008-11-05 02:34:44 +00:00
parent 88b322ff85
commit 96f30a802d
1 changed files with 1 additions and 0 deletions

View File

@ -1819,6 +1819,7 @@ void completenessChangeCallback(tr_torrent * torrent, tr_completeness status, vo
node = [[FileListNode alloc] initWithFileName: name path: [parent fullPath] size: size index: index]; node = [[FileListNode alloc] initWithFileName: name path: [parent fullPath] size: size index: index];
[parent insertChild: node]; [parent insertChild: node];
[node release];
} }
if (isFolder) if (isFolder)