Or maybe its FreeCoTaskMem
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9798 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
657a0c9ac0
commit
32c80950d7
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue