Skip to content

Fix memory leaks in downloadAssetFile - #144

Merged
doZennn merged 1 commit into
SteamGridDB:mainfrom
Arcitec:fix-memleak
Oct 4, 2026
Merged

doZennn merged 1 commit into
SteamGridDB:mainfrom
Arcitec:fix-memleak

Conversation

@Arcitec

@Arcitec Arcitec commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

Commit cd0c569 introduced a renaming mechanic for hotloading Steam art assets, which refactored downloadAssetFile so that it allocates a temporary filename and returns the final filename on success.

The output filename was not being freed on success, and the temporary filename was not being freed on failure.

Commit cd0c569 introduced a renaming mechanic for hotloading Steam art assets, which refactored `downloadAssetFile` so that it allocates a temporary filename and returns the final filename on success.

The output filename was not being freed on success, and the temporary filename was not being freed on failure.
@Arcitec Arcitec changed the title Fix memory leak when renaming asset file Fix memory leaks in downloadAssetFile Oct 2, 2026
@Arcitec

Arcitec commented Oct 2, 2026

Copy link
Copy Markdown
Contributor Author

@doZennn @mpaterakis ready for review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants