Hello Juha,

yes, there seems to be a mixture of free functions. I think the free is required for the xml body part, because it is allocated by the xml library, not sure 100%, I have to double-check with Anca, which has some holidays. It might be required that the events needs to provide a free function as well for the body in the NOTIFYs.

Cheers,
Daniel


On 06/11/07 15:23, Juha Heinanen wrote:
could the problem be so simple that free is used on the crash like
instead of pkg_free?  i den't remember other use of free() system call
in openser.

-- juha

        if(notify_body!=NULL)
        {
                if(notify_body->s)
                        free(notify_body->s);       ********** here
                pkg_free(notify_body);
        }

_______________________________________________
Devel mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/devel


_______________________________________________
Devel mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/devel

Reply via email to