BUGFIX: Fix possible crash on clicking a RSS article (closes #575624)

This commit is contained in:
Christophe Dumez
2010-10-28 17:09:00 +00:00
parent 8cba38ac62
commit 7635fe51f7
2 changed files with 2 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
* Unreleased - Christophe Dumez <chris@qbittorrent.org> - v2.4.9
- BUGFIX: Fix crash when pressing enter in save path field in torrent addition dialog
- BUGFIX: Fix crash when deleting a torrent with no metadata (closes #667528)
- BUGFIX: Fix possible crash on clicking a RSS article (closes #575624)
- BUGFIX: Correctly display the hash of torrents with no metadata
- BUGFIX: Elide status bar text if it is too wide

View File

@@ -485,7 +485,7 @@ void RSSImp::refreshTextBrowser() {
// Stop displaying previous news if necessary
if(listStreams->currentFeed() == listStreams->getUnreadItem()) {
if(previous_news) {
delete listNews->takeTopLevelItem(listNews->indexOfTopLevelItem(previous_news));
delete previous_news;
}
previous_news = item;
}