From 559869f44f4f2150147d42868df1e46f9138b610 Mon Sep 17 00:00:00 2001 From: stegerg Date: Wed, 27 Jun 2007 11:25:45 +0000 Subject: [PATCH] memleak: ImageBackFill__MUIM_IconWindow_BackFill_Cleanup() did not FreeVec(this_BFI). This stuff is also still somewhat broken in other ways as BackFill_Setup is called during iconwindow's OM_NEW but BackFill_Cleanup is called during iconwindow's MUIM_Cleanup, which for example means if window never reached opened (or MUIM_Setup) stage, the backfill_cleanup never happens. git-svn-id: https://svn.aros.org:8080/svn/aros/trunk/AROS@26310 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- workbench/system/Wanderer/iconwindowbackfill.c | 1 + 1 file changed, 1 insertion(+) diff --git a/workbench/system/Wanderer/iconwindowbackfill.c b/workbench/system/Wanderer/iconwindowbackfill.c index 221a923ce..76561e86b 100644 --- a/workbench/system/Wanderer/iconwindowbackfill.c +++ b/workbench/system/Wanderer/iconwindowbackfill.c @@ -789,6 +789,7 @@ D(bug("[IconWindow.ImageBackFill] MUIM_IconWindow_BackFill_Cleanup()\n")); this_BFI->bfi_Source = NULL; } + FreeVec(this_BFI); return TRUE; } -- 2.11.4.GIT