Fix wrong memory cost in UIAnimatedImage
Fix wrong memory cost in UIAnimatedImage: a task in github-trending-environments-10k (Harbor dataset). Title: Fix wrong memory cost in UIAnimatedImage
The task
**Title:** Fix wrong memory cost in `_UIAnimatedImage`