[Freeswitch-svn] [commit] r12683 - freeswitch/trunk/src
FreeSWITCH SVN
anthm at freeswitch.org
Fri Mar 20 07:28:37 PDT 2009
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
More information about the Freeswitch-svn
mailing list