mirror of
https://github.com/transmission/transmission
synced 2025-02-07 06:54:40 +00:00
fix a small occasional memory leak reported by m1b & clang
This commit is contained in:
parent
88b322ff85
commit
96f30a802d
1 changed files with 1 additions and 0 deletions
|
@ -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];
|
||||
|
||||
[parent insertChild: node];
|
||||
[node release];
|
||||
}
|
||||
|
||||
if (isFolder)
|
||||
|
|
Loading…
Reference in a new issue