From: Alexandr Anikin Date: Mon, 30 Apr 2012 16:48:57 +0000 (+0000) Subject: Fix use freed pointer in return value from call thread X-Git-Tag: 10.5.0-rc1~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ef380c50bdaf20e3c47fe1c22077e3745e2b587;p=thirdparty%2Fasterisk.git 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 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@364651 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/addons/ooh323cDriver.c b/addons/ooh323cDriver.c index 150024f81f..1672849cab 100644 --- a/addons/ooh323cDriver.c +++ b/addons/ooh323cDriver.c @@ -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) {