Remove early return in image unit unpinning procedure


A return statement in the function that unpins previously used image units
leads to an early exit, even if there are image units left to unpin.
The return statement was removed to fix the issue.

Pick-to: 6.9 6.8 6.7
Change-Id: Ic26f7a9eb418003542c3513ef54c0e1d6c11748a
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
commitb36d5ad719656fb832af4c30a2f92891ae10955e
parentbbffbf02699c8ec58769bfa9cf73279c8263a80c
authorOle Wegen <olewegen@gmx.de>
committerPaul Lemire <paul.lemire@kdab.com>
commit timeFri, 13 Dec 2024 14:12:42 +0000