Fixed gamedata file refcounting bug in the structs extension.
authorDavid Anderson <dvander@alliedmods.net>
Fri Oct 31 22:47:13 2008 -0700 (2008-10-31)
changeset 23852265a1fd35c9
parent 2384 a92e5558410e
child 2386 5700b0094285
Fixed gamedata file refcounting bug in the structs extension.
extensions/structs/extension.cpp
     1.1 --- a/extensions/structs/extension.cpp	Fri Oct 31 22:35:27 2008 -0700
     1.2 +++ b/extensions/structs/extension.cpp	Fri Oct 31 22:47:13 2008 -0700
     1.3 @@ -88,7 +88,7 @@
     1.4  void Structs::SDK_OnUnload()
     1.5  {
     1.6  	handlesys->RemoveType(g_StructHandle, myself->GetIdentity());
     1.7 -
     1.8 +	gameconfs->CloseGameConfigFile(conf);
     1.9  	gameconfs->RemoveUserConfigHook("Structs", this);
    1.10  }
    1.11