[xml] xmlAllocOutputBuffer allocates memory I can't free



Title: xmlAllocOutputBuffer allocates memory I can't free

I am using libxml 2.26 and I call the function xmlDocDumpFormatMemoryEnc which
allocates some memory with the function xmlAllocOutputBuffer().

The problem is when I try to free this memory with the standard C function free() the debugger
says that the memory was never allocated…

Why is that?



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