ChangeWallpaperUseCase and ReapplyEffectsUseCase both leaked the processedBitmap when processBitmap() or adaptiveBrightnessAdjustment() threw an exception — the outer catch returned Result.Error without recycling the allocated bitmap. Added an inner try-catch-rethrow that recycles whichever bitmap is live at the point of failure before re-throwing so the outer handler can record the skip. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>