2
0
mirror of https://github.com/Facepunch/Facepunch.Steamworks.git synced 2025-05-05 11:19:25 +03:00

Fixed ServerRules callback memory leak

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

@ -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()