Skip to content
Snippets Groups Projects
Commit a146bde1 authored by Mark Michelson's avatar Mark Michelson Committed by Gerrit Code Review
Browse files

Merge "main: Use ast_strdup instead of strdup"

parents 1afc8432 7856762f
No related branches found
No related tags found
No related merge requests found
...@@ -1208,7 +1208,7 @@ static void *dummy_start(void *data) ...@@ -1208,7 +1208,7 @@ static void *dummy_start(void *data)
lock_info->thread_id = pthread_self(); lock_info->thread_id = pthread_self();
lock_info->lwp = ast_get_tid(); 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_init(&mutex_attr);
pthread_mutexattr_settype(&mutex_attr, AST_MUTEX_KIND); pthread_mutexattr_settype(&mutex_attr, AST_MUTEX_KIND);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment