]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Or maybe its FreeCoTaskMem
authorMichael Giagnocavo <mgg@giagnocavo.net>
Thu, 2 Oct 2008 19:05:21 +0000 (19:05 +0000)
committerMichael Giagnocavo <mgg@giagnocavo.net>
Thu, 2 Oct 2008 19:05:21 +0000 (19:05 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9798 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/languages/mod_managed/freeswitch_managed.cpp

index fe9d4dd381b06845448b9e7cf42e35f8cd7e4b23..583051cf1c8c7bd593aa2e3205200a855e012306 100644 (file)
@@ -104,7 +104,7 @@ switch_status_t ManagedSession::run_dtmf_callback(void *input, switch_input_type
        char *result = dtmfDelegate(input, itype);\r
 \r
        switch_status_t status = process_callback_result(result);\r
-       Marshal::FreeHGlobal(IntPtr(result)); // I think this is right\r
+       Marshal::FreeCoTaskMem(IntPtr(result)); // I think this is right\r
        return status;\r
 }\r
 \r