From: Alexandr Anikin Date: Mon, 30 Apr 2012 16:37:33 +0000 (+0000) Subject: Fix use freed pointer in return value from call thread X-Git-Tag: 1.8.13.0-rc1~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97787d8c5e77178450ebeecc6442eeb6cc9b4059;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) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@364649 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/addons/ooh323cDriver.c b/addons/ooh323cDriver.c index d964898350..ce156a50ff 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) {