diff options
Diffstat (limited to 'main/frame.c')
-rw-r--r-- | main/frame.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/main/frame.c b/main/frame.c index a3f67da61..b559d552d 100644 --- a/main/frame.c +++ b/main/frame.c @@ -351,6 +351,13 @@ void ast_frame_free(struct ast_frame *frame, int cache) } } +void ast_frame_dtor(struct ast_frame *f) +{ + if (f) { + ast_frfree(f); + } +} + /*! * \brief 'isolates' a frame by duplicating non-malloc'ed components * (header, src, data). |