Skip to content
Snippets Groups Projects
Commit d87a6d22 authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Fix leak in new create landmark floater

parent dcbb6190
No related branches found
No related tags found
No related merge requests found
......@@ -73,6 +73,11 @@ LLFloaterCreateLandmark::LLFloaterCreateLandmark(const LLSD& key)
LLFloaterCreateLandmark::~LLFloaterCreateLandmark()
{
removeObserver();
if(mInventoryObserver)
{
delete mInventoryObserver;
mInventoryObserver = nullptr;
}
}
BOOL LLFloaterCreateLandmark::postBuild()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment