mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 11:58:40 +00:00
Merge "main: Use ast_strdup instead of strdup"
This commit is contained in:
@@ -1208,7 +1208,7 @@ static void *dummy_start(void *data)
|
||||
|
||||
lock_info->thread_id = pthread_self();
|
||||
lock_info->lwp = ast_get_tid();
|
||||
lock_info->thread_name = strdup(a.name);
|
||||
lock_info->thread_name = ast_strdup(a.name);
|
||||
|
||||
pthread_mutexattr_init(&mutex_attr);
|
||||
pthread_mutexattr_settype(&mutex_attr, AST_MUTEX_KIND);
|
||||
|
||||
Reference in New Issue
Block a user