git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13627 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Mathieu Rene
2009-06-05 01:17:59 +00:00
parent 35bdae4aa2
commit dfaf607e6d
2 changed files with 2 additions and 5 deletions

View File

@@ -50,9 +50,8 @@ SWITCH_DECLARE(switch_caller_profile_t *) switch_caller_profile_new(switch_memor
switch_caller_profile_t *profile = NULL;
profile = switch_core_alloc(pool, sizeof(*profile));
switch_assert(profile != NULL);
memset(profile, 0, sizeof(*profile));
switch_assert(profile != NULL);
if (!context) {
context = "default";