diff options
| author | Peng Wenhao <pengwenhao@uniontech.com> | 2020-07-24 13:55:07 +0800 |
|---|---|---|
| committer | Peng Wenhao <pengwenhao@uniontech.com> | 2020-07-28 13:36:31 +0800 |
| commit | 59e3073b1cb944128b7533dd85be13074ab07b72 (patch) | |
| tree | c69dc2518c7ad19634d439b2c5ed75b24a6e74c1 /src/plugins/generic/tslib/main.cpp | |
| parent | b71c8eb3864f36ba7bafce1fcb7c7caee67f4405 (diff) | |
Close memory leak in QTestLib support for string to numeric testing
QTest::toString allocates memory by calling qstrdup; that memory must
be freed by the caller.
Change-Id: I9724db0c617884cf08592968b1411f002ef23204
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/plugins/generic/tslib/main.cpp')
0 files changed, 0 insertions, 0 deletions
