Not completely, there's still one case left. line 73: if (!PenObject)
{... return 0;}
I'd say it's better practice to have the caller delete the memory. The
double free can be avoided, by
"PenObject->pStyle = NULL;" before cleanup.
James Tabor schrieb:
Hi,
I looked at it again,,, I think I fixed the leak and the crash in 33857,
Sorry,
James
_______________________________________________
Ros-dev mailing list
Ros-dev(a)reactos.org
http://www.reactos.org/mailman/listinfo/ros-dev