[Devel] SF.net SVN: openser: [2094] trunk/modules/presence/event_list.c

Juha Heinanen jh at tutpro.com
Sun Apr 29 11:17:59 CEST 2007


klaus.mailinglists at pernau.at writes:

 > shouldn't free...() check if!=NULL? (at least standard free() does this:
 > "...If ptr is NULL, no operation is performed."

it didn't crash to free() or smh_free(), but to this assignment:

e1= EvList->events;

because EvList was 0.  it was 0, because mod_init() was not executed
where it would have received a non-0 value.

so i'm still asking, why was destroy executed, but not mod_init and why
only in presence module?

-- juha



More information about the Devel mailing list