[Devel] SF.net SVN: openser: [2094]
trunk/modules/presence/event_list.c
klaus.mailinglists at pernau.at
klaus.mailinglists at pernau.at
Sun Apr 29 11:11:17 CEST 2007
> 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 at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/devel
>
More information about the Devel
mailing list