From 667a90b7249b916e73f627825960c29bf2721b43 Mon Sep 17 00:00:00 2001 From: A-lex-Ra Date: Mon, 18 Dec 2023 19:10:30 +0600 Subject: [PATCH] fix potential memory leak --- src/content/Content.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/content/Content.cpp b/src/content/Content.cpp index c7ddf25b..4c924087 100644 --- a/src/content/Content.cpp +++ b/src/content/Content.cpp @@ -62,6 +62,7 @@ Content::Content(ContentIndices* indices, DrawGroups* drawGroups, Content::~Content() { delete indices; + delete drawGroups; } Block* Content::findBlock(string id) const {