From 32c80950d7305329f6894f316a44b413e2f1ac10 Mon Sep 17 00:00:00 2001
From: Michael Giagnocavo <mgg@giagnocavo.net>
Date: Thu, 2 Oct 2008 19:05:21 +0000
Subject: [PATCH] Or maybe its FreeCoTaskMem

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9798 d0543943-73ff-0310-b7d9-9358b9ac24b2
---
 src/mod/languages/mod_managed/freeswitch_managed.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mod/languages/mod_managed/freeswitch_managed.cpp b/src/mod/languages/mod_managed/freeswitch_managed.cpp
index fe9d4dd381..583051cf1c 100644
--- a/src/mod/languages/mod_managed/freeswitch_managed.cpp
+++ b/src/mod/languages/mod_managed/freeswitch_managed.cpp
@@ -104,7 +104,7 @@ switch_status_t ManagedSession::run_dtmf_callback(void *input, switch_input_type
 	char *result = dtmfDelegate(input, itype);
 
 	switch_status_t status = process_callback_result(result);
-	Marshal::FreeHGlobal(IntPtr(result)); // I think this is right
+	Marshal::FreeCoTaskMem(IntPtr(result)); // I think this is right
 	return status;
 }