summaryrefslogtreecommitdiffstats
path: root/src/testlib/qtestutil_macos_p.h
diff options
context:
space:
mode:
authorGabriel de Dietrich <gabriel.dedietrich@qt.io>2016-08-16 14:03:53 -0700
committerJake Petroules <jake.petroules@qt.io>2016-08-18 02:23:05 +0000
commitb13ff07f1dd25414e507aebd2a7d6d55bc93e6cd (patch)
tree024d7f2c4f7fcb141ee6b2289749742d141da648 /src/testlib/qtestutil_macos_p.h
parentecb73a7bb3c048fd50ebdf4b552e5b65b9ef2c50 (diff)
QCocoaInputContext: Fix wrong memory release
As per Core Foundation ownership conventions, we should release 'source', which is a copy, and not 'langRef', which is a reference. This has shown to lead to crashes in some occasions. Change-Id: I2e59b8d62aac13bc60dc013c1ea621850132c719 Task-number: QTBUG-48772 Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Diffstat (limited to 'src/testlib/qtestutil_macos_p.h')
0 files changed, 0 insertions, 0 deletions