diff options
author | Honglei Zhang <honglei.zhang@nokia.com> | 2011-04-27 06:19:57 (GMT) |
---|---|---|
committer | Honglei Zhang <honglei.zhang@nokia.com> | 2011-04-27 10:54:37 (GMT) |
commit | 27a24f1d009741b6e712300e7bc58b7e7e7d4c0b (patch) | |
tree | 92045141de1fda553cc45a04e020cca73337a32e /tests/auto/moc/tst_moc.cpp | |
parent | 0061f7e015b10ccaa45dc35b68cac467ebad424a (diff) | |
download | Qt-27a24f1d009741b6e712300e7bc58b7e7e7d4c0b.zip Qt-27a24f1d009741b6e712300e7bc58b7e7e7d4c0b.tar.gz Qt-27a24f1d009741b6e712300e7bc58b7e7e7d4c0b.tar.bz2 |
Fix memory leak in XSD component of XmlPatterns
There are couple of memory leaks in XmlPatterns when parsing XSD
files. The reason is that the module over uses the shared data
pointer and generates many cyclic reference loop. Some part of
the code is refactored. Instead of using shared data pointer,
normal C++ pointer is used to break the ownership loop. This is
bug fix for QTBUG-8948.
Task-number: QTBUG-8948
Reviewed-by: Sami Merila and Laszlo Agocs
Diffstat (limited to 'tests/auto/moc/tst_moc.cpp')
0 files changed, 0 insertions, 0 deletions