summaryrefslogtreecommitdiffstats
path: root/src/gui/text
diff options
context:
space:
mode:
authorHonglei Zhang <honglei.zhang@nokia.com>2011-12-08 14:17:08 +0200
committerQt by Nokia <qt-info@nokia.com>2012-04-03 08:51:58 +0200
commit8cd69eb1ffd37194e3d736a3bb5ce8511b8b8854 (patch)
tree56e5a299418ed3ef2bc55f876c6c74600933d22c /src/gui/text
parentcdc1720730dff64ef61e4cb9457c46dae8101315 (diff)
Memory leak fix of sqlite driver when close failed
If an ongoing query is not finalized before close function is called, sqlite driver can't close the connection to sqlite. In this case, the failure is only reported to the client via getLastError(). Even if the client want to handle this case, there is no easy way to revoke the close function. This commit finalizes all queries before close is called. Task-number: QTBUG-16967 Change-Id: I069f6073bd46f53780e13d269e44aa86366e0574 Reviewed-by: Andy Shaw <andy.shaw@digia.com> Reviewed-by: Mark Brand <mabrand@mabrand.nl>
Diffstat (limited to 'src/gui/text')
0 files changed, 0 insertions, 0 deletions