Diffstat (limited to 'noncore/net/opieirc/ircmessageparser.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opieirc/ircmessageparser.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/noncore/net/opieirc/ircmessageparser.cpp b/noncore/net/opieirc/ircmessageparser.cpp index a2be5a4..4038673 100644 --- a/noncore/net/opieirc/ircmessageparser.cpp +++ b/noncore/net/opieirc/ircmessageparser.cpp @@ -27,4 +27,5 @@ IRCCTCPMessageParserStruct IRCMessageParser::ctcpParserProcTable[] = { { 0 , 0 } }; + /* Lookup table for numerical commands */ IRCNumericalMessageParserStruct IRCMessageParser::numericalParserProcTable[] = { @@ -229,4 +230,5 @@ void IRCMessageParser::parseLiteralQuit(IRCMessage *message) { IRCChannelPerson *chanperson = it.current()->getPerson(mask.nick()); it.current()->removePerson(chanperson); + delete chanperson; } m_session->removePerson(person); @@ -234,4 +236,5 @@ void IRCMessageParser::parseLiteralQuit(IRCMessage *message) { output.addParam(person); emit outputReady(output); + delete person; } else { emit outputReady(IRCOutput(OUTPUT_ERROR, tr("Unknown person quit - desynchronized?"))); |