mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 19:28:53 +00:00
Merged revisions 49536 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r49536 | kpfleming | 2007-01-04 15:58:42 -0600 (Thu, 04 Jan 2007) | 2 lines don't mark these allocations as 'cache' allocations when caching has been disabled ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49538 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -304,10 +304,12 @@ static struct ast_frame *ast_frame_header_new(void)
|
||||
return f;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
if (!(f = ast_calloc_cache(1, sizeof(*f))))
|
||||
return NULL;
|
||||
#else
|
||||
if (!(f = ast_calloc(1, sizeof(*f))))
|
||||
return NULL;
|
||||
#endif
|
||||
|
||||
f->mallocd_hdr_len = sizeof(*f);
|
||||
#ifdef TRACE_FRAMES
|
||||
|
Reference in New Issue
Block a user