[asterisk-commits] may: branch 1.8 r364649 - /branches/1.8/addons/ooh323cDriver.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Apr 30 11:37:38 CDT 2012


Author: may
Date: Mon Apr 30 11:37:33 2012
New Revision: 364649

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=364649
Log:
Fix use freed pointer in return value from call thread

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


Modified:
    branches/1.8/addons/ooh323cDriver.c

Modified: branches/1.8/addons/ooh323cDriver.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/addons/ooh323cDriver.c?view=diff&rev=364649&r1=364648&r2=364649
==============================================================================
--- branches/1.8/addons/ooh323cDriver.c (original)
+++ branches/1.8/addons/ooh323cDriver.c Mon Apr 30 11:37:33 2012
@@ -124,7 +124,7 @@
  free(mycthread);
  ast_module_unref(myself);
  ast_update_use_count();
- return dummy;
+ return NULL;
 }
 
 int ooh323c_start_call_thread(ooCallData *call) {




More information about the asterisk-commits mailing list