mirror of
https://github.com/asterisk/asterisk.git
synced 2026-07-27 16:07:15 -07:00
Merge "main: Use ast_strdup instead of strdup"
This commit is contained in:
+1
-1
@@ -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