mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-22 12:34:19 +00:00
- Fixed memory leak in RSS parser
This commit is contained in:
parent
3c0a610a34
commit
70725bdfe2
@ -495,6 +495,8 @@ class RssStream : public QObject{
|
|||||||
RssItem * item = new RssItem(property);
|
RssItem * item = new RssItem(property);
|
||||||
if(!itemAlreadyExists(item->getHash()))
|
if(!itemAlreadyExists(item->getHash()))
|
||||||
listItem.append(item);
|
listItem.append(item);
|
||||||
|
else
|
||||||
|
detete item;
|
||||||
}
|
}
|
||||||
property = property.nextSibling().toElement();
|
property = property.nextSibling().toElement();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user