diff options
author | Ratchanan Srirattanamet <ratchanan@ubports.com> | 2020-09-10 00:30:41 +0700 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2020-09-11 14:12:52 +0000 |
commit | b34065e03e467d2c2b7a04e84bbec815f595220c (patch) | |
tree | 1e267ab5e042f81334c5d4650182ed73efab1938 /configure.json | |
parent | fd2bb11b9c9f4a0cff99ed21d9e5291ff5ec065d (diff) |
CameraBin: unset GValues after finish using them
GValue can contain allocated memory. Not unsetting it can cause memory
leak. This patch adds g_value_unset() calls to various places that miss
ones.
Change-Id: I78e0f8f6c558ada0e7828c11094132359c579c2a
Reviewed-by: Val Doroshchuk <valentyn.doroshchuk@qt.io>
(cherry picked from commit 24ac478e50dab189b53c749b34971a807aa6da4d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'configure.json')
0 files changed, 0 insertions, 0 deletions