forked from qt-creator/qt-creator
RemoteLinux: Do not leak memory
Change-Id: Iea89c88e7c447288e7871e3c82db8295b3af2498 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
committed by
Tim Jenssen
parent
c0fdb14a94
commit
b293f81b41
@@ -81,6 +81,11 @@ DeploymentTimeInfo::DeploymentTimeInfo() : d(new DeploymentTimeInfoPrivate())
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DeploymentTimeInfo::~DeploymentTimeInfo()
|
||||||
|
{
|
||||||
|
delete d;
|
||||||
|
}
|
||||||
|
|
||||||
void DeploymentTimeInfo::saveDeploymentTimeStamp(const DeployableFile &deployableFile,
|
void DeploymentTimeInfo::saveDeploymentTimeStamp(const DeployableFile &deployableFile,
|
||||||
const Kit *kit)
|
const Kit *kit)
|
||||||
{
|
{
|
||||||
|
@@ -41,6 +41,7 @@ class DeploymentTimeInfo
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
DeploymentTimeInfo();
|
DeploymentTimeInfo();
|
||||||
|
~DeploymentTimeInfo();
|
||||||
|
|
||||||
void importDeployTimes(const QVariantMap &map);
|
void importDeployTimes(const QVariantMap &map);
|
||||||
QVariantMap exportDeployTimes() const;
|
QVariantMap exportDeployTimes() const;
|
||||||
|
Reference in New Issue
Block a user