From: David Vossel Date: Thu, 15 Sep 2011 15:19:10 +0000 (+0000) Subject: Removes some no-op code found in format_cap.c. X-Git-Tag: 10.0.0-beta2~49 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d4def5c7f13c85f800a278edb12ac27874f77ec;p=thirdparty%2Fasterisk.git Removes some no-op code found in format_cap.c. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@336091 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- 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; }