Huw D M Davies wrote:
Good catch. This classfactory code is fairly pervasive in Wine. I'll submit a patch fixing all other occurrences of this in a moment.
Maybe we should make a new janitorial task to turn all those class factories into singleton into objects too. It's not necessary to allocate a piece of memory at all for a class factory.
Mike