mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-01-13 15:18:07 +03:00
Fixed ServerRules callback memory leak
This commit is contained in:
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()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user