diff --git a/src/rss.h b/src/rss.h index 276b0f942..5c2f1bb4f 100644 --- a/src/rss.h +++ b/src/rss.h @@ -495,6 +495,8 @@ class RssStream : public QObject{ RssItem * item = new RssItem(property); if(!itemAlreadyExists(item->getHash())) listItem.append(item); + else + detete item; } property = property.nextSibling().toElement(); }