Browse Source

- Fixed memory leak in RSS parser

adaptive-webui-19844
Christophe Dumez 16 years ago
parent
commit
70725bdfe2
  1. 2
      src/rss.h

2
src/rss.h

@ -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…
Cancel
Save