- Timestamp:
- 2008-02-16T13:24:44Z (17 years ago)
- Branches:
- master
- Children:
- 3064ea4
- Parents:
- 27db433
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
irc.c
r27db433 rdc9797f 134 134 conf_loaddefaults( irc ); 135 135 136 irc->otr_us = otrl_userstate_create(); 137 irc->otr_keygen = 0; 138 irc->otr_to = NULL; 139 irc->otr_from = NULL; 140 irc->otr_ntodo = 0; 136 irc->otr = otr_new(); 141 137 142 138 return( irc ); … … 290 286 } 291 287 292 otrl_userstate_free(irc->otr_us); 293 if(irc->otr_keygen) { 294 kill(irc->otr_keygen, SIGTERM); 295 waitpid(irc->otr_keygen, NULL, 0); 296 /* TODO: remove stale keygen tempfiles */ 297 } 288 otr_free(irc->otr); 298 289 299 290 g_free(irc);
Note: See TracChangeset
for help on using the changeset viewer.