Changeset 3fc6c32 for unix.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
  • unix.c

    r9c9a29c r3fc6c32  
    7474        b_main_init();
    7575       
     76        /* libpurple doesn't like fork()s after initializing itself, so if
     77           we use it, do this init a little later (in case we're running in
     78           ForkDaemon mode). */
     79#ifndef WITH_PURPLE
     80        nogaim_init();
     81#endif
     82       
    7683        /* Ugly Note: libotr and gnutls both use libgcrypt. libgcrypt
    7784           has a process-global config state whose initialization happpens
Note: See TracChangeset for help on using the changeset viewer.