doh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12683 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
c2692bf05a
commit
6d0c973ec5
|
@ -243,7 +243,7 @@ SWITCH_DECLARE(char *) switch_core_perform_session_strdup(switch_core_session_t
|
||||||
switch_log_printf(SWITCH_CHANNEL_ID_LOG, file, func, line, NULL, SWITCH_LOG_CONSOLE, "Sess Strdup Allocate %d\n", (int) len);
|
switch_log_printf(SWITCH_CHANNEL_ID_LOG, file, func, line, NULL, SWITCH_LOG_CONSOLE, "Sess Strdup Allocate %d\n", (int) len);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
duped = strdup(todup);
|
duped = apr_pstrdup(session->pool, todup);
|
||||||
switch_assert(duped != NULL);
|
switch_assert(duped != NULL);
|
||||||
|
|
||||||
#ifdef LOCK_MORE
|
#ifdef LOCK_MORE
|
||||||
|
|
Loading…
Reference in New Issue