From 412ad74aadd81ba48a6781369c2e0c8c7c727c9a Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 31 Oct 2008 22:47:13 -0700 Subject: [PATCH] Fixed gamedata file refcounting bug in the structs extension. --- extensions/structs/extension.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/structs/extension.cpp b/extensions/structs/extension.cpp index 22a612409..296608606 100644 --- a/extensions/structs/extension.cpp +++ b/extensions/structs/extension.cpp @@ -88,7 +88,7 @@ void Structs::SDK_OnAllLoaded() void Structs::SDK_OnUnload() { handlesys->RemoveType(g_StructHandle, myself->GetIdentity()); - + gameconfs->CloseGameConfigFile(conf); gameconfs->RemoveUserConfigHook("Structs", this); }