> Juha Heinanen writes: > > > Log Message: > > ----------- > > * EvList is destroyed only if not NULL.
shouldn't free...() check if!=NULL? (at least standard free() does this: "...If ptr is NULL, no operation is performed." regards klaus > > i added this test in order to prevent openser -c crashing. for some > reason presence module destroy function is called after configuration > has been checked. EvList was NULL because presence module init function > was not called. > > can someone explain, why presence module destroy function was called, > but init function was not? i added debug to lcr module destroy > function to see if that too is called, but it wasn't. > > -- juha > > _______________________________________________ > Devel mailing list > Devel@openser.org > http://openser.org/cgi-bin/mailman/listinfo/devel > _______________________________________________ Devel mailing list Devel@openser.org http://openser.org/cgi-bin/mailman/listinfo/devel