summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changes1
-rw-r--r--src/channels.c2
-rw-r--r--src/config.c2
-rw-r--r--version.log6
4 files changed, 8 insertions, 3 deletions
diff --git a/Changes b/Changes
index 1be59c130..e235d4fa0 100644
--- a/Changes
+++ b/Changes
@@ -1,6 +1,7 @@
Anope Version S V N
-------------------
Provided by Anope Dev. <dev@anope.org> - 2005
+05/12 F Using variable for EVENT_PART_CHANNEL after freeing it. [#374]
05/11 F Unable to make when using an old shell. [#369]
05/10 F AnopeFini was called without mod_current_module_name set. [#371]
05/10 F Unidentified users now have level -1 instead of 0 again. [#372]
diff --git a/src/channels.c b/src/channels.c
index 9b8efc715..f5e99ffa9 100644
--- a/src/channels.c
+++ b/src/channels.c
@@ -685,9 +685,9 @@ void do_part(const char *source, int ac, char **av)
c->prev->next = c->next;
else
user->chans = c->next;
- free(c);
send_event(EVENT_PART_CHANNEL, 3, EVENT_STOP, user->nick,
c->chan->name);
+ free(c);
}
}
}
diff --git a/src/config.c b/src/config.c
index 2e735abe0..07c7f2995 100644
--- a/src/config.c
+++ b/src/config.c
@@ -858,7 +858,7 @@ int parse(char *buf, int linenum, int reload)
if (n == lenof(directives)) {
/* error(linenum, "Unknown directive `%s'", dir);
- return 1; *//* don't cause abort */
+ return 1; *//* don't cause abort */
}
return retval;
diff --git a/version.log b/version.log
index e0ff9e8e1..eb1b23179 100644
--- a/version.log
+++ b/version.log
@@ -8,10 +8,14 @@
VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="9"
-VERSION_BUILD="787"
+VERSION_BUILD="788"
# $Log$
#
+# BUILD : 1.7.9 (788)
+# BUGS : 374
+# NOTES : Moved free() to after sending the EVENT_PART_CHANNEL event, so the event does not use an already freed variable
+#
# BUILD : 1.7.9 (787)
# BUGS : 369
# NOTES : Added a dummy folder/makefile to keep older shells happen with doing processing Makefile.inc subs