]> Some of my projects - anidbudpclient.git/commitdiff
Delete setStateReply too.
authorAPTX <marek321@gmail.com>
Mon, 14 Feb 2011 03:46:58 +0000 (04:46 +0100)
committerAPTX <marek321@gmail.com>
Mon, 14 Feb 2011 03:46:58 +0000 (04:46 +0100)
file.cpp

index 4c9377aac6b568200f9c796b033c844cf3f1b6a1..279c1f5b8a655af702b3a13f309566d63d25c801 100644 (file)
--- 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;