mirror of
https://github.com/anope/anope.git
synced 2026-06-26 10:16:40 +02:00
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
git-svn-id: svn://svn.anope.org/anope/trunk@788 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@548 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
parent
e203904efd
commit
df7cd78fa8
@@ -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]
|
||||
|
||||
+1
-1
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -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;
|
||||
|
||||
+5
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user