mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-09 09:02:31 -06:00
Fix memory leak in RSS
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
* Unreleased - Christophe Dumez <chris@qbittorrent.org> - v2.1.5
|
* Unreleased - Christophe Dumez <chris@qbittorrent.org> - v2.1.5
|
||||||
- BUGFIX: Fix actions on selected torrents (non-selected torrents could be affected)
|
- BUGFIX: Fix actions on selected torrents (non-selected torrents could be affected)
|
||||||
- BUGFIX: Link against boost and ssl to fix issues with gold linker
|
- BUGFIX: Link against boost and ssl to fix issues with gold linker
|
||||||
|
- BUGFIX: Fix memory leak in RSS
|
||||||
|
|
||||||
* Mon Feb 8 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.1.4
|
* Mon Feb 8 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.1.4
|
||||||
- BUGFIX: Fix file prioritizing in a torrent
|
- BUGFIX: Fix file prioritizing in a torrent
|
||||||
|
|||||||
@@ -391,6 +391,8 @@ RssStream::RssStream(RssFolder* parent, RssManager *rssmanager, Bittorrent *BTSe
|
|||||||
RssItem *rss_item = RssItem::fromHash(this, item);
|
RssItem *rss_item = RssItem::fromHash(this, item);
|
||||||
if(rss_item->isValid()) {
|
if(rss_item->isValid()) {
|
||||||
(*this)[rss_item->getTitle()] = rss_item;
|
(*this)[rss_item->getTitle()] = rss_item;
|
||||||
|
} else {
|
||||||
|
delete rss_item;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user