summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2008-12-29 02:50:30 +0000
committerrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2008-12-29 02:50:30 +0000
commitf5209be18aa0ca53715aa7bb6244804b3913cfad (patch)
tree0b3dd27853b1ba435e5718a4be3c352cf9b71da3
parentf88808b431f2afcde919117f33f0e40558dac0e5 (diff)
Fix uninitialised variable usage leading to stray freeing of memory.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1870 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r--src/channels.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/channels.c b/src/channels.c
index d7eac6d87..f92a64a5f 100644
--- a/src/channels.c
+++ b/src/channels.c
@@ -1930,7 +1930,7 @@ Entry *entry_create(char *mask)
{
Entry *entry;
char *nick = NULL, *user, *host, *cidrhost;
- int do_free;
+ int do_free = 0;
uint32 ip, cidr;
entry = new Entry;