Changeset 0fbda193 for irc.c


Ignore:
Timestamp:
2008-02-02T21:48:09Z (12 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
979cfb4
Parents:
f774e01
Message:

Added help_free() and cleaned up some very stale help-related stuff I
wasn't even aware of. This closes bug #352.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc.c

    rf774e01 r0fbda193  
    189189        account_t *account;
    190190        user_t *user, *usertmp;
    191         help_t *helpnode, *helpnodetmp;
    192191       
    193192        log_message( LOGLVL_INFO, "Destroying connection with fd %d", irc->fd );
     
    266265        g_hash_table_destroy(irc->watches);
    267266       
    268         if (irc->help != NULL) {
    269                 helpnode = irc->help;
    270                 while (helpnode != NULL) {
    271                         g_free(helpnode->string);
    272                        
    273                         helpnodetmp = helpnode;
    274                         helpnode = helpnode->next;
    275                         g_free(helpnodetmp);
    276                 }
    277         }
    278267        g_free(irc);
    279268       
Note: See TracChangeset for help on using the changeset viewer.