From b0d79af5970e5e44885ac4e6f6709a787ea3cbed Mon Sep 17 00:00:00 2001 From: Rye Mutt <rye@alchemyviewer.org> Date: Sun, 23 Aug 2020 01:19:04 -0400 Subject: [PATCH] Fix leak of observer in LLPanelLandmarks --- indra/newview/llpanellandmarks.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/indra/newview/llpanellandmarks.cpp b/indra/newview/llpanellandmarks.cpp index d0b21a6ac33..00bef31fc51 100644 --- a/indra/newview/llpanellandmarks.cpp +++ b/indra/newview/llpanellandmarks.cpp @@ -215,6 +215,7 @@ LLLandmarksPanel::~LLLandmarksPanel() { gInventory.removeObserver(mInventoryObserver); } + delete mInventoryObserver; } BOOL LLLandmarksPanel::postBuild() -- GitLab