git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2185 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2006-07-27 15:45:19 +00:00
parent 765ee43280
commit 4395e55493
4 changed files with 12 additions and 12 deletions

View File

@@ -857,9 +857,9 @@ SWITCH_DECLARE(void *) switch_core_session_alloc(switch_core_session_t *session,
}
/* **ONLY** alloc things with these functions that **WILL NOT** need
to be freed *EVER* ie this is for *PERMENANT* memory allocation */
to be freed *EVER* ie this is for *PERMANENT* memory allocation */
SWITCH_DECLARE(void *) switch_core_permenant_alloc(switch_size_t memory)
SWITCH_DECLARE(void *) switch_core_permanent_alloc(switch_size_t memory)
{
void *ptr = NULL;
assert(runtime.memory_pool != NULL);
@@ -874,7 +874,7 @@ SWITCH_DECLARE(void *) switch_core_permenant_alloc(switch_size_t memory)
return ptr;
}
SWITCH_DECLARE(char *) switch_core_permenant_strdup(char *todup)
SWITCH_DECLARE(char *) switch_core_permanent_strdup(char *todup)
{
char *duped = NULL;
switch_size_t len;