Browse Source

- Fix memory leak in rss

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
bccdad4b1b
  1. 2
      src/rss.cpp

2
src/rss.cpp

@ -391,6 +391,8 @@ RssStream::RssStream(RssFolder* parent, RssManager *rssmanager, Bittorrent *BTSe @@ -391,6 +391,8 @@ RssStream::RssStream(RssFolder* parent, RssManager *rssmanager, Bittorrent *BTSe
RssItem *rss_item = RssItem::fromHash(this, item);
if(rss_item->isValid()) {
(*this)[rss_item->getTitle()] = rss_item;
} else {
delete rss_item;
}
}
}

Loading…
Cancel
Save