1
0
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:
dan
2006-01-22 18:19:09 +00:00
parent fa7a5db4bd
commit bacf8229b0
3 changed files with 13 additions and 1 deletions

View File

@@ -450,6 +450,9 @@ destroyView(W_View *view)
W_FreeViewXdndPart(view);
if (view->backColor)
WMReleaseColor(view->backColor);
wfree(view);
}