diff options
author | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-12-29 02:50:30 +0000 |
---|---|---|
committer | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-12-29 02:50:30 +0000 |
commit | f5209be18aa0ca53715aa7bb6244804b3913cfad (patch) | |
tree | 0b3dd27853b1ba435e5718a4be3c352cf9b71da3 | |
parent | f88808b431f2afcde919117f33f0e40558dac0e5 (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.c | 2 |
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; |