mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-07 00:35:53 +01:00
- release colors to avoid issues with the reference count overflowing a
small integer and causing unexpected color releases that can crash Window Maker (Martin Frydl <martin.frydl@systinet.com>) - fixed a small memory leak in WINGs/wview.c caused by not releasing the background color of a view (Martin Frydl <martin.frydl@systinet.com>)
This commit is contained in:
@@ -450,6 +450,9 @@ destroyView(W_View *view)
|
||||
|
||||
W_FreeViewXdndPart(view);
|
||||
|
||||
if (view->backColor)
|
||||
WMReleaseColor(view->backColor);
|
||||
|
||||
wfree(view);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user