summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/xline.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xline.cpp b/src/xline.cpp
index 2e48283d0..49341072f 100644
--- a/src/xline.cpp
+++ b/src/xline.cpp
@@ -337,6 +337,7 @@ bool XLineManager::DelXLine(XLine *x)
{
this->SendDel(x);
+ x->manager = NULL; // Don't call remove
delete x;
this->xlines->erase(it);