mirror of
https://github.com/gryf/wmaker.git
synced 2026-10-09 11:12:29 +02: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:
1 parent
fa7a5db4bd
commit
bacf8229b0
3 files changed
+13
-1
No files matched your search
@@ -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