Fixed clientprefs prefab menu double free crash (bug 5374, r=asherkin).

This commit is contained in:
Nicholas Hastings
2012-07-03 07:51:12 -04:00
parent 49ad25d001
commit 3479e452de
3 changed files with 25 additions and 4 deletions
+3
View File
@@ -140,6 +140,8 @@ public:
*/
//virtual bool SDK_OnMetamodPauseChange(bool paused, char *error, size_t maxlength);
#endif
public:
IdentityToken_t *GetIdentity() const;
public:
IDBDriver *Driver;
IDatabase *Database;
@@ -152,6 +154,7 @@ public:
private:
SourceHook::List<TQueryOp *> cachedQueries;
IMutex *queryMutex;
IdentityToken_t *identity;
};
class CookieTypeHandler : public IHandleTypeDispatch