diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2006-12-27 18:33:44 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2006-12-27 18:33:44 +0000 |
commit | d68c7c8ce646fe75ec0ebead66f52871ada4444f (patch) | |
tree | dfeb14f90a471988d68d943500c6f035660efe8a /channels/iax2-parser.c | |
parent | 29ed493b40ad6c027a83888882d0689bc9079ecc (diff) |
Merged revisions 48987 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r48987 | kpfleming | 2006-12-27 12:29:13 -0600 (Wed, 27 Dec 2006) | 2 lines
allow 'show memory' and 'show memory summary' to distinguish memory allocations that were done for caching purposes, so they don't look like memory leaks
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48989 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/iax2-parser.c')
-rw-r--r-- | channels/iax2-parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/iax2-parser.c b/channels/iax2-parser.c index 09e04c432..1da3c4d6a 100644 --- a/channels/iax2-parser.c +++ b/channels/iax2-parser.c @@ -957,7 +957,7 @@ struct iax_frame *iax_frame_new(int direction, int datalen) } if (!fr) { - if (!(fr = ast_calloc(1, sizeof(*fr) + datalen))) + if (!(fr = ast_calloc_cache(1, sizeof(*fr) + datalen))) return NULL; fr->mallocd_datalen = datalen; } |