Skip to content

Commit

Permalink
Fix a null pointer, #665
Browse files Browse the repository at this point in the history
  • Loading branch information
kaetemi committed Apr 22, 2022
1 parent 9968328 commit 186d751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ryzom/client/src/interface_v3/chat_filter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -339,8 +339,8 @@ void CChatTargetFilter::setTargetPlayer(const string &targetPlayer)
_TargetPlayer = targetPlayer;
if (_TargetPartyChat)
{
_TargetPartyChat = NULL;

This comment has been minimized.

Copy link
@kervala

kervala Apr 22, 2022

Contributor

Haha, interesting :D

This comment has been minimized.

Copy link
@mlcdev

mlcdev Apr 23, 2022

I wonder how many other bugs are still hidden in plain sight...

This comment has been minimized.

Copy link
@kervala

kervala Apr 23, 2022

Contributor

I wonder how many other bugs are still hidden in plain sight...

Me too ;p

_TargetPartyChat->removeObserver(this);
_TargetPartyChat = NULL;
}
// set the prompt
if (_Chat)
Expand Down

0 comments on commit 186d751

Please sign in to comment.