diff options
| author | Fabian Kosmale <fabian.kosmale@qt.io> | 2023-07-10 13:52:49 +0200 |
|---|---|---|
| committer | Fabian Kosmale <fabian.kosmale@qt.io> | 2023-08-03 11:28:38 +0200 |
| commit | 4c1df115ecfb14c353c0ec46efdb1f9d2fc0ea95 (patch) | |
| tree | 53a28ae34e145758241695ea0d6bd3a7f254b638 /src/opengl/doc/snippets | |
| parent | c41733b06bd61d4710a9f6ec849f0d913c4497bb (diff) | |
QDbus: Avoid memory leak in registerComplexDBusType
QMetaType does not own the interface from which it is constructed.
Consequently, we end up with a memory leak.
This is not a huge issue, given that the map of meta-types is static,
and the application is about to be close when can discard it anyway, but
it causes avoidable sanitizer warnings, which are annoying when
debugging more severe memory leaks.
Pick-to: 6.6 6.5
Change-Id: Ifee3f4e19835536f4a6cfa4f6866ab621581ad4f
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/opengl/doc/snippets')
0 files changed, 0 insertions, 0 deletions
