diff options
-rw-r--r-- | src/gui/skin.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/skin.cpp b/src/gui/skin.cpp index 515ef01b..e87f6761 100644 --- a/src/gui/skin.cpp +++ b/src/gui/skin.cpp @@ -211,6 +211,8 @@ Skin* SkinLoader::load(const std::string &filename, logger->log("Finished loading Skin."); + delete doc; + // Hard-coded for now until we update the above code to look for window buttons. Image* closeImage = resman->getImage("graphics/gui/close_button.png"); |