summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/Clist_modern/src/modern_clcitems.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/Clist_modern/src/modern_clcitems.cpp b/plugins/Clist_modern/src/modern_clcitems.cpp
index 7d2bf66c8d..309838d83e 100644
--- a/plugins/Clist_modern/src/modern_clcitems.cpp
+++ b/plugins/Clist_modern/src/modern_clcitems.cpp
@@ -127,6 +127,7 @@ void cli_FreeContact(ClcContact *p)
}
mir_free_and_nil(p->subcontacts);
}
+ p->SubAllocated = 0;
}
p->ssText.DestroySmileyList();