Commit e453d672 authored by Fredrik Orderud's avatar Fredrik Orderud
Browse files

Introduce qScopeGuard for UpdateRegistry() cleanup


Introduce qScopeGuard to ensure that qAxCleanup() and libAttr release is
always called, regardless of return-point. This fixes missing qAxCleanup()
call on the SELFREG_E_TYPELIB early return.

Task-number: QTBUG-76269
Change-Id: Ie68a22a4631b206f73980f1418dabce54e51fd56
Reviewed-by: default avatarVolker Hilsheimer <volker.hilsheimer@qt.io>
 
parent 95ecd545
Showing with 4 additions and 2 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment