20 Mar
2009
20 Mar
'09
2:28 p.m.
Author: anthm Date: Fri Mar 20 09:28:36 2009 New Revision: 12683 Log: doh Modified: freeswitch/trunk/src/switch_core_memory.c Modified: freeswitch/trunk/src/switch_core_memory.c ============================================================================== --- freeswitch/trunk/src/switch_core_memory.c (original) +++ freeswitch/trunk/src/switch_core_memory.c Fri Mar 20 09:28:36 2009 @@ -243,7 +243,7 @@ switch_log_printf(SWITCH_CHANNEL_ID_LOG, file, func, line, NULL, SWITCH_LOG_CONSOLE, "Sess Strdup Allocate %d\n", (int) len); #endif - duped = strdup(todup); + duped = apr_pstrdup(session->pool, todup); switch_assert(duped != NULL); #ifdef LOCK_MORE
6438
Age (days ago)
6438
Last active (days ago)
0 comments
1 participants
participants (1)
-
FreeSWITCH SVN