- Fixed an already free'd pointer error in irc.c:144
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5947 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
0837bb4f38
commit
a97e263cd9
@ -140,10 +140,7 @@ int irc_parse(int fd)
|
||||
{
|
||||
if (session[fd]->eof){
|
||||
do_close(fd);
|
||||
if (irc_si) {
|
||||
aFree(irc_si);
|
||||
irc_si = NULL;
|
||||
}
|
||||
irc_si = NULL;
|
||||
add_timer(gettick() + 15000, irc_connect_timer, 0, 0);
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user