diff --git a/native_client/dotnet/DeepSpeechClient/DeepSpeech.cs b/native_client/dotnet/DeepSpeechClient/DeepSpeech.cs index a674c699..dedd5e4d 100644 --- a/native_client/dotnet/DeepSpeechClient/DeepSpeech.cs +++ b/native_client/dotnet/DeepSpeechClient/DeepSpeech.cs @@ -208,18 +208,6 @@ namespace DeepSpeechClient NativeImp.DS_FreeStream(ref _streamingStatePP); } - /// - /// Free a DeepSpeech allocated string - /// - public unsafe void FreeString(IntPtr intPtr) - { - NativeImp.DS_FreeString(intPtr); - } - - /// - /// Free a DeepSpeech allocated Metadata struct - /// - public unsafe void FreeMetadata(IntPtr intPtr) { NativeImp.DS_FreeMetadata(intPtr); } diff --git a/native_client/dotnet/DeepSpeechClient/Interfaces/IDeepSpeech.cs b/native_client/dotnet/DeepSpeechClient/Interfaces/IDeepSpeech.cs index c47c25a1..4dbcf2aa 100644 --- a/native_client/dotnet/DeepSpeechClient/Interfaces/IDeepSpeech.cs +++ b/native_client/dotnet/DeepSpeechClient/Interfaces/IDeepSpeech.cs @@ -66,15 +66,6 @@ namespace DeepSpeechClient.Interfaces /// unsafe void FreeStream(); - /// - /// Free a DeepSpeech allocated string - /// - unsafe void FreeString(IntPtr intPtr); - - /// - /// Free a DeepSpeech allocated Metadata struct - /// - unsafe void FreeMetadata(IntPtr intPtr); /// /// Creates a new streaming inference state.