Fix memory leak when loading animations


QSvgAbstractAnimator uses two QHashes to store pointers to allocated
QSvgAbstractAnimations, but only ever deleted those from one of them.

This is already being tested by running tst_QSvgRenderer with ASAN.

Pick-to: 6.9
Change-Id: Ie2ff13f707586e7e6cd2bf8025f33ca5312bae80
Reviewed-by: Hatem ElKharashy <hatem.elkharashy@qt.io>
commit83089f062164a240c8a8224b1b986e0a011d4bdd
parentc304feef87af73648df78e571e91990cb13adbe7
authorRobert Löhning <robert.loehning@qt.io>
committerRobert Löhning <robert.loehning@qt.io>
commit timeMon, 3 Feb 2025 22:01:18 +0000