From 110acf741b182ad4da0770438fcb8075233878f5 Mon Sep 17 00:00:00 2001 From: David Vossel Date: Thu, 15 Sep 2011 15:19:51 +0000 Subject: [PATCH] Merged revisions 336091 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/10 ........ r336091 | dvossel | 2011-09-15 10:19:10 -0500 (Thu, 15 Sep 2011) | 2 lines Removes some no-op code found in format_cap.c. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@336092 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/format_cap.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/main/format_cap.c b/main/format_cap.c index 63dc0491df..b632a7b1cf 100644 --- a/main/format_cap.c +++ b/main/format_cap.c @@ -521,8 +521,6 @@ struct ast_format_cap *ast_format_cap_get_type(const struct ast_format_cap *cap, } result = ast_format_cap_destroy(result); - /* Remember to always free the NULL before returning it. */ - ast_free(NULL); return NULL; }