summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/socialwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/socialwindow.cpp b/src/gui/socialwindow.cpp
index d87b94bad..7b8d064ce 100644
--- a/src/gui/socialwindow.cpp
+++ b/src/gui/socialwindow.cpp
@@ -472,7 +472,7 @@ public:
if (!finded)
{
delete *ai;
- avatars->erase(ai);
+ ai = avatars->erase(ai);
}
else
{