mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
Issue 9869 - replace malloc and memset with ast_calloc, and other coding guidelines changes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@67864 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -539,7 +539,7 @@ static void *dummy_start(void *data)
|
||||
keep a copy of the pointer and then ast_unregister_thread will
|
||||
free the memory
|
||||
*/
|
||||
free(data);
|
||||
ast_free(data);
|
||||
ast_register_thread(a.name);
|
||||
pthread_cleanup_push(ast_unregister_thread, (void *) pthread_self());
|
||||
ret = a.start_routine(a.data);
|
||||
|
Reference in New Issue
Block a user