Merge "main: Use ast_strdup instead of strdup"

changes/62/1962/1
Mark Michelson 10 years ago committed by Gerrit Code Review
commit a146bde1f7

@ -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);

Loading…
Cancel
Save