Allow assignment of olefonts to other olefonts

Mike McCormack mike at codeweavers.com
Wed Sep 8 06:36:40 CDT 2004


>> ChangeLog:
>> Allow assignment of olefonts to other olefonts

Seems like you don't release the interface pointer that you do a query 
interface on.

You shouldn't need to special case copying from the same object... just 
make sure you always allocate a new piece of memory and copy the old 
string name before freeing it.

If you change around the order of freeing, allocating and copying the 
strings it would be a bit easier to make it work right and fix the above 
problems.

Mike



More information about the wine-devel mailing list