Fix use freed pointer in return value from call thread

(issue ASTERISK-19663)
Reported by: Matt Jordan
Patches:
  ASTERISK-19663-ooh323.patch (License #5415)
........

Merged revisions 364649 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 364651 from http://svn.asterisk.org/svn/asterisk/branches/10


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@364652 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Alexandr Anikin
2012-04-30 16:59:53 +00:00
parent 60d9ca687c
commit 6d87267542

View File

@@ -124,7 +124,7 @@ void* ooh323c_call_thread(void* dummy)
free(mycthread); free(mycthread);
ast_module_unref(myself); ast_module_unref(myself);
ast_update_use_count(); ast_update_use_count();
return dummy; return NULL;
} }
int ooh323c_start_call_thread(ooCallData *call) { int ooh323c_start_call_thread(ooCallData *call) {