Re: [xml] returning existing handler in xmlNewCharEncodingHandler

Daniel Veillard wrote:

The patch will change the behaviour of xmlNewCharEncodingHandler(), but not that of xmlFindCharEncodingHandler(). The idea was to prevent the registration of more than one handler for the same encoding name. That

 Ah, okay ! I missed that, I'm applying the patch,

  Well, this makes all tests memory leak. Apparently the existing code
relies on the current behaviour. When the default handlers are installed

Then forget it. It isn't very important anyway, noone will break without it. Oliver doesn't depend on it, if I understood the story well. Oliver?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]