Mercurial > ~mikael > mcabber > hg
comparison mcabber/src/main.c @ 1307:6c116207ab2e
Work around segfault in otrl_userstate_free()
It only occurs when SSL is enabled and mcabber is linked to libgnutls.
Seems to be a problem in libgcrypt when both libotr and libgnutls use it.
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sun, 09 Sep 2007 17:44:34 +0200 |
parents | 3b338a5c01fc |
children | 0dda8238af21 |
comparison
equal
deleted
inserted
replaced
1306:a7d21918234c | 1307:6c116207ab2e |
---|---|
469 | 469 |
470 jb_main(); | 470 jb_main(); |
471 } | 471 } |
472 } | 472 } |
473 | 473 |
474 scr_TerminateCurses(); | |
474 #ifdef HAVE_LIBOTR | 475 #ifdef HAVE_LIBOTR |
475 otr_terminate(); | 476 otr_terminate(); |
476 #endif | 477 #endif |
477 jb_disconnect(); | 478 jb_disconnect(); |
478 #ifdef HAVE_GPGME | 479 #ifdef HAVE_GPGME |
479 gpg_terminate(); | 480 gpg_terminate(); |
480 #endif | 481 #endif |
481 scr_TerminateCurses(); | |
482 #ifdef HAVE_ASPELL_H | 482 #ifdef HAVE_ASPELL_H |
483 /* Deinitialize aspell */ | 483 /* Deinitialize aspell */ |
484 if (settings_opt_get_int("aspell_enable")) { | 484 if (settings_opt_get_int("aspell_enable")) { |
485 spellcheck_deinit(); | 485 spellcheck_deinit(); |
486 } | 486 } |