diff options
author | Lars Knoll <lars.knoll@qt.io> | 2021-06-07 10:28:39 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2021-06-08 09:58:10 +0200 |
commit | 34d4dc092aa82adf9dc1b9e1a2f85dc474cfbc63 (patch) | |
tree | 5c0a4dbeb39558447182ef358894fce79f26ad22 /src/multimedia/platform/qplatformcamera_p.h | |
parent | 01710f651a509536de83a2c50aafaff9c28331b7 (diff) |
Fix a use after free error in QMediaDevices
Don't hold a pointer to the QPlatformMediaDevice instance, as
the instance could get deleted when the QPlatformMediaIntegration
gets deleted.
Change-Id: Ieb3ba88a6efee55d6816eeea16e4f62edfcf0eac
Reviewed-by: André de la Rocha <andre.rocha@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/multimedia/platform/qplatformcamera_p.h')
0 files changed, 0 insertions, 0 deletions