From 19368bcefa98de126a7453d424cd7b2e6697f6cb Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Wed, 3 Mar 2010 13:03:13 +0000 Subject: [PATCH] Added virtual destructor to avoid memory leaks --- src/rss.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rss.h b/src/rss.h index cc8bc4497..494c525d1 100644 --- a/src/rss.h +++ b/src/rss.h @@ -92,6 +92,7 @@ public: enum FileType {STREAM, FOLDER}; RssFile(): QObject() {} + virtual ~RssFile() {}; virtual unsigned int getNbUnRead() const = 0; virtual FileType getType() const = 0;