Changeset 3fc6c32 for irc.c


Ignore:
Timestamp:
2010-10-16T22:58:21Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
83e47ec
Parents:
9c9a29c
Message:

Stop calling nogaim_init() on every incoming connection (unless we're
using libpurple). This was leaking memory and indirectly caused the bug
fixed by the previous revision.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc.c

    r9c9a29c r3fc6c32  
    165165        g_free( host );
    166166       
     167        /* libpurple doesn't like fork()s after initializing itself, so this
     168           is the right moment to initialize it. */
     169#ifdef WITH_PURPLE
    167170        nogaim_init();
     171#endif
    168172       
    169173        for( l = irc_plugins; l; l = l->next )
Note: See TracChangeset for help on using the changeset viewer.