diff options
author | kh1 <karsten.heimrich@digia.com> | 2012-11-20 15:59:59 +0100 |
---|---|---|
committer | Karsten Heimrich <karsten.heimrich@digia.com> | 2012-11-21 10:25:14 +0100 |
commit | 46c8887c224f9653c3351eb1474ab3966c3e1215 (patch) | |
tree | d69fff6ee8b6b8b4ddbdf6d50f3f0d2786a4c6be /src/libs/installer/binaryformat.h | |
parent | 004ba0b129a701ad9bc29f2350c723641416c69f (diff) |
Fix dangling resource data.
Task-number: QTIFW-168
Use QByteArray as a data container for resources to keep a reference to that
data till the data is needed / the QByteArray exists.
Change-Id: I2436ae2204bd1bdb834e6c8e434b2673b12c4fad
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
Diffstat (limited to 'src/libs/installer/binaryformat.h')
-rw-r--r-- | src/libs/installer/binaryformat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/installer/binaryformat.h b/src/libs/installer/binaryformat.h index ae3b93006..a3284d58e 100644 --- a/src/libs/installer/binaryformat.h +++ b/src/libs/installer/binaryformat.h @@ -207,7 +207,7 @@ public: QList<Operation *> m_performedOperations; QList<QPair<QString, QString> > m_performedOperationsData; - QVector<const uchar *> m_resourceMappings; + QVector<QByteArray> m_resourceMappings; QVector<Range<qint64> > m_metadataResourceSegments; QInstallerCreator::ComponentIndex m_componentIndex; |