aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2007-10-10 06:41:51 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2007-10-10 06:41:51 +0000
commit842f3a47ee57ed9bc01a9fa2665affc084f75b24 (patch)
treef22d886646992bbd0c61e6a34c1143da89752cc3 /include
parent45875de05b2edc159cb139f118a10c6b3a3a50a4 (diff)
Merged revisions 85195 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r85195 | kpfleming | 2007-10-10 08:24:41 +0200 (Wed, 10 Oct 2007) | 2 lines use a macro instead of an inline function, so that backtraces will report the caller of ast_frame_free() properly ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85196 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/frame.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/asterisk/frame.h b/include/asterisk/frame.h
index e7f97269d..b18575aaf 100644
--- a/include/asterisk/frame.h
+++ b/include/asterisk/frame.h
@@ -393,10 +393,7 @@ struct ast_frame *ast_fralloc(char *source, int len);
*/
void ast_frame_free(struct ast_frame *fr, int cache);
-static void force_inline ast_frfree(struct ast_frame *fr)
-{
- ast_frame_free(fr, 1);
-}
+#define ast_frfree(fr) ast_frame_free(fr, 1)
/*! \brief Makes a frame independent of any static storage
* \param fr frame to act upon