summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-16 13:52:10 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-16 13:52:10 +0000
commitd7875763890e79ddcc1f4f105d7b896b0d5e5d83 (patch)
tree0c6cab5e7d7918731a0e43b983c486bd3ed16807 /src/users.cpp
parent5d18f26b6bfb7a575b50dc2e3ad909131b9f75da (diff)
Fix socket leak properly this time
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4405 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 1e2e35321..61a5be70a 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -217,7 +217,7 @@ userrec::~userrec()
for (std::vector<ucrec*>::iterator n = chans.begin(); n != chans.end(); n++)
{
ucrec* x = (ucrec*)*n;
- DELETE(x);
+ delete x;
}
}