[Asterisk-code-review] main: Use ast strdup instead of strdup (asterisk[13])
Mark Michelson
asteriskteam at digium.com
Fri Jan 8 14:46:56 CST 2016
Mark Michelson has submitted this change and it was merged.
Change subject: main: Use ast_strdup instead of strdup
......................................................................
main: Use ast_strdup instead of strdup
Fix compile error in main/utils.c because strdup was used in dummy_start
Change-Id: Id61a6cf4f3cbf235450441e10e7da101a6335793
---
M main/utils.c
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Mark Michelson: Looks good to me, approved
Richard Mudgett: Looks good to me, but someone else must approve
Anonymous Coward #1000019: Verified
diff --git a/main/utils.c b/main/utils.c
index 3a8d46a..0b527f0 100644
--- a/main/utils.c
+++ b/main/utils.c
@@ -1213,7 +1213,7 @@
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);
--
To view, visit https://gerrit.asterisk.org/1937
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Id61a6cf4f3cbf235450441e10e7da101a6335793
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: Richard Mudgett <rmudgett at digium.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: Mark Michelson <mmichelson at digium.com>
Gerrit-Reviewer: Richard Mudgett <rmudgett at digium.com>
More information about the asterisk-code-review
mailing list