From f51ca35a34f1e61426c50c9aab16c7d1801e459e Mon Sep 17 00:00:00 2001 From: Garry Newman Date: Fri, 7 Oct 2016 12:00:51 +0100 Subject: [PATCH] Fixed ServerRules callback memory leak --- Facepunch.Steamworks/Interop/ServerRules.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Facepunch.Steamworks/Interop/ServerRules.cs b/Facepunch.Steamworks/Interop/ServerRules.cs index 714f299..7bf502c 100644 --- a/Facepunch.Steamworks/Interop/ServerRules.cs +++ b/Facepunch.Steamworks/Interop/ServerRules.cs @@ -47,13 +47,13 @@ namespace Facepunch.Steamworks.Interop vTablePin.Free(); if ( RulesRespondPin.IsAllocated ) - vTablePin.Free(); + RulesRespondPin.Free(); if ( FailedRespondPin.IsAllocated ) - vTablePin.Free(); + FailedRespondPin.Free(); if ( CompletePin.IsAllocated ) - vTablePin.Free(); + CompletePin.Free(); } void InstallVTable()