diff options
Diffstat (limited to 'Swiften/Parser/PayloadParsers/RosterParser.cpp')
-rw-r--r-- | Swiften/Parser/PayloadParsers/RosterParser.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Swiften/Parser/PayloadParsers/RosterParser.cpp b/Swiften/Parser/PayloadParsers/RosterParser.cpp index c3a35b6..6db2b30 100644 --- a/Swiften/Parser/PayloadParsers/RosterParser.cpp +++ b/Swiften/Parser/PayloadParsers/RosterParser.cpp @@ -71,6 +71,7 @@ void RosterParser::handleEndElement(const String& element, const String& ns) { if (unknownContentParser_) { unknownContentParser_->handleEndElement(element, ns); currentItem_.addUnknownContent(unknownContentParser_->getResult()); + delete unknownContentParser_; unknownContentParser_ = NULL; } else if (element == "group") { |