fix a small occasional memory leak reported by m1b & clang
This commit is contained in:
parent
88b322ff85
commit
96f30a802d
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue