Mike McCormack wrote:

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.


Or even better, a single implementation in a header file in include/wine Bonus points for also making a common regsvr implementation too.

Rob




Reply via email to