diff options
author | Andreas Buhr <andreas.buhr@qt.io> | 2021-07-06 14:08:28 +0200 |
---|---|---|
committer | Andreas Buhr <andreas.buhr@qt.io> | 2021-07-06 18:30:26 +0200 |
commit | b854bf06dc1902b101c2622f519c84a2a93e2fb1 (patch) | |
tree | 6167fa87be9f5ecc064ae19c21721fe45ccb2e42 /src/corelib/doc | |
parent | eaa48136a39f153b05bb1842734bbe2277191510 (diff) |
Fix memory leaks in tst_qlineedit
In the unit tests, two times a validator was used without a parent,
which led to memory leaks. This patch changes this: The
validators are initialized with the widget they are meant for
as parent. This fixes the memory leaks.
Pick-to: 6.2
Change-Id: I480c0c5104cbe60159fad49df28cbb6240e7ce68
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Ievgenii Meshcheriakov <ievgenii.meshcheriakov@qt.io>
Diffstat (limited to 'src/corelib/doc')
0 files changed, 0 insertions, 0 deletions