Comment 6 for bug 986271

Revision history for this message
David Mathog (mathog) wrote :

The little bit of code in part B was a stub routine that does nothing but replace another virtual method in,

src/extension/implementation/implementation.h

(I do not pretend to understand how this is all screwed together, it took days to figure out that adding PrintEmfWin32::image
would override the virtual method in that header file. I still have no idea what method/function actually calls the emf image method, since gdb bt failed to resolve it.)

The real code (which should work as well) is the EMF input changes just posted for bug 818539.

Unfortunately I cannot run valgrind in mingw, so I have no decent tool with which to track down these leaks. It looks like the only other option is mpatrol, which has to be linked in statically. (Never used it.) If these leaks are also present in the linux version then it would be _much_ easier to run them down there.