Changeset e59b4f6 for irc_commands.c


Ignore:
Timestamp:
2009-10-04T19:00:53Z (10 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
796da03, fa295e36
Parents:
bdad407
Message:

Fixed embarassing early free() bug that sat in the WATCH command handling
for *years*. I guess it took a while for IRC clients to actually use that
functionality...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc_commands.c

    rbdad407 re59b4f6  
    415415                        if( g_hash_table_lookup_extended( irc->watches, nick, &okey, &ovalue ) )
    416416                        {
     417                                g_hash_table_remove( irc->watches, okey );
    417418                                g_free( okey );
    418                                 g_hash_table_remove( irc->watches, okey );
    419419                               
    420420                                irc_reply( irc, 602, "%s %s %s %d :%s", nick, "*", "*", 0, "Stopped watching" );
Note: See TracChangeset for help on using the changeset viewer.