ReleaseRefChain
function · net · primitive
- Address
0x5b04d0· 29 bytes, up to0x5b04ec- Signature
void __thiscall (void *this)- Meaning
- Releases one reference on an object and on each object its link field chains to, deleting each that reaches zero
- Confidence
- verified, proof one
- Finding
- net/download#releasing-a-download
- Test
net::download_release_chain
Finding: Releasing a download in net: download
0x5b0450(delete, commit) takes the lock 0xc2a1a0, drops one reference from the file object and from each object its +4 chains to (0x5b04d0), deleting each whose count +8 reaches 0 through slot 0 with 1, and clears +0. It then deletes the file (0x5b04f0), or with commit, for a .partial, renames it to the final path (0x5b0570), which sets state 3, error 1 when the rename fails. 0x5b0550(delete) is the release without a commit and 0x5b0440 without either.
The derivation is in the doc.
Callers 9
- DownloadFileRelease net
- DownloadFileOpen net
- 0x650660 storm
- 0x6509b0 storm
- 0x653320 storm
- ArchiveOpen storm
- 0x656390 storm
- SFileOpenFileInArchives storm
- 0x662f00 storm
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.