summaryrefslogtreecommitdiff
path: root/main/format_cap.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/format_cap.c')
-rw-r--r--main/format_cap.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/main/format_cap.c b/main/format_cap.c
index 63dc0491d..b632a7b1c 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;
}