mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
- Fixed memory leak in RSS parser
This commit is contained in:
parent
3c0a610a34
commit
70725bdfe2
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue