Fix use freed pointer in return value from call thread
[asterisk/asterisk.git] / addons / ooh323cDriver.c
index 150024f..1672849 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) {