Fixed ServerRules callback memory leak

This commit is contained in:
Garry Newman 2016-10-07 12:00:51 +01:00
parent 34d519cd7c
commit f51ca35a34

View File

@ -47,13 +47,13 @@ namespace Facepunch.Steamworks.Interop
vTablePin.Free(); vTablePin.Free();
if ( RulesRespondPin.IsAllocated ) if ( RulesRespondPin.IsAllocated )
vTablePin.Free(); RulesRespondPin.Free();
if ( FailedRespondPin.IsAllocated ) if ( FailedRespondPin.IsAllocated )
vTablePin.Free(); FailedRespondPin.Free();
if ( CompletePin.IsAllocated ) if ( CompletePin.IsAllocated )
vTablePin.Free(); CompletePin.Free();
} }
void InstallVTable() void InstallVTable()