Of particular concern is making sure my dynamically allocated memory is being freed. The new data is stored in PSPEN and is allocated when SelectObject (on a wineps.drv device of course) passing a pen and is freed whenever a subsequent pen is selected or the device context is deleted.
I'm just not intimately familiar enough with this part of the API to know for certain that this eliminates all room for leaks.
Thanks! Daniel
Oh, but I forgot to add that it does fix the problem (Finale 2010 prints dashed lines correctly now). http://bugs.winehq.org/show_bug.cgi?id=26091
On 10/17/2011 03:53 PM, Daniel Santos wrote:
Of particular concern is making sure my dynamically allocated memory is being freed. The new data is stored in PSPEN and is allocated when SelectObject (on a wineps.drv device of course) passing a pen and is freed whenever a subsequent pen is selected or the device context is deleted.
I'm just not intimately familiar enough with this part of the API to know for certain that this eliminates all room for leaks.
Thanks! Daniel