Commit 7aae2d2e authored by Mark Harmstone's avatar Mark Harmstone Committed by Alexandre Julliard

uxtheme: Free properties when theme file closed.

parent 444bc355
......@@ -209,6 +209,13 @@ void MSSTYLES_CloseThemeFile(PTHEME_FILE tf)
tf->classes = pcls->next;
while(pcls->partstate) {
PTHEME_PARTSTATE ps = pcls->partstate;
while(ps->properties) {
PTHEME_PROPERTY prop = ps->properties;
ps->properties = prop->next;
HeapFree(GetProcessHeap(), 0, prop);
}
pcls->partstate = ps->next;
HeapFree(GetProcessHeap(), 0, ps);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment