From: APTX Date: Mon, 14 Feb 2011 03:46:58 +0000 (+0100) Subject: Delete setStateReply too. X-Git-Url: https://gitweb.aptx.org/?a=commitdiff_plain;h=def2df4657614fc36460ec3706a29d0c4b793f00;p=anidbudpclient.git Delete setStateReply too. --- diff --git a/file.cpp b/file.cpp index 4c9377a..279c1f5 100644 --- a/file.cpp +++ b/file.cpp @@ -22,6 +22,11 @@ File::File(const QFileInfo &file, QObject *parent) : QObject(parent) File::~File() { + if (setStateReply) + { + delete setStateReply; + setStateReply = 0; + } if (markReply) { delete markReply;