]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Fix use freed pointer in return value from call thread
authorAlexandr Anikin <may@telecom-service.ru>
Mon, 30 Apr 2012 16:48:57 +0000 (16:48 +0000)
committerAlexandr Anikin <may@telecom-service.ru>
Mon, 30 Apr 2012 16:48:57 +0000 (16:48 +0000)
(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

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@364651 65c4cc65-6c06-0410-ace0-fbb531ad65f3

addons/ooh323cDriver.c

index 150024f81fb03c15b6fa275c1176f24a6e6e5479..1672849cab3b33527cd3a57a842f98756c37536f 100644 (file)
@@ -124,7 +124,7 @@ void* ooh323c_call_thread(void* dummy)
  free(mycthread);
  ast_module_unref(myself);
  ast_update_use_count();
- return dummy;
+ return NULL;
 }
 
 int ooh323c_start_call_thread(ooCallData *call) {