diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-04-07 17:03:28 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-04-07 17:03:28 +0000 |
commit | 32a2ce0b53c66f171c266b9063405eade380e2ea (patch) | |
tree | 42a58822332de023ef640dcaf09a6df1451d00a3 /src | |
parent | f2d07fe0484b42a099b41f2940351b7b2b1bf8f4 (diff) | |
download | hercules-32a2ce0b53c66f171c266b9063405eade380e2ea.tar.gz hercules-32a2ce0b53c66f171c266b9063405eade380e2ea.tar.bz2 hercules-32a2ce0b53c66f171c266b9063405eade380e2ea.tar.xz hercules-32a2ce0b53c66f171c266b9063405eade380e2ea.zip |
- Fixed an already free'd pointer error in irc.c:144
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5947 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r-- | src/map/irc.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/map/irc.c b/src/map/irc.c index 0359c599e..621201fa4 100644 --- a/src/map/irc.c +++ b/src/map/irc.c @@ -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;
}
|