From 97fe45ab93071c9a6d046a981b508edd0fbbceaf Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Thu, 1 Nov 2007 06:07:18 +0000 Subject: Janitor: use ast_free to pair calls of ast_malloc and ast_calloc Reported by: eliel Patch by: eliel Closes issue #11135 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@88008 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_meetme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/app_meetme.c') diff --git a/apps/app_meetme.c b/apps/app_meetme.c index 7b67d6b23..1676b6d29 100644 --- a/apps/app_meetme.c +++ b/apps/app_meetme.c @@ -815,7 +815,7 @@ static struct ast_conference *build_conf(char *confno, char *pin, char *pinadmin ast_log(LOG_WARNING, "Unable to open pseudo device\n"); if (cnf->fd >= 0) close(cnf->fd); - free(cnf); + ast_free(cnf); cnf = NULL; goto cnfout; } -- cgit v1.2.3