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 | 9fc291c75f5fae829deeb01ceba303ad67f4a533 (patch) | |
tree | f7eae27141c2dbf3247ac495030b0713edbbebe7 /src/plugins/gstreamer/camerabin/camerabinimageencoder.h | |
parent | 8b127d7ff751a6308666f91d111e75c36e620907 (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 'src/plugins/gstreamer/camerabin/camerabinimageencoder.h')
0 files changed, 0 insertions, 0 deletions