From 9d05ff8ed5f2c898370896ff7a8bb67885596ba1 Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Wed, 6 Jun 2007 21:20:11 +0000 Subject: Issue 9869 - replace malloc and memset with ast_calloc, and other coding guidelines changes git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@67864 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/callerid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/callerid.c') diff --git a/main/callerid.c b/main/callerid.c index 74b8d9200..c870a462f 100644 --- a/main/callerid.c +++ b/main/callerid.c @@ -683,7 +683,7 @@ int callerid_feed(struct callerid_state *cid, unsigned char *ubuf, int len, int void callerid_free(struct callerid_state *cid) { - free(cid); + ast_free(cid); } static int callerid_genmsg(char *msg, int size, const char *number, const char *name, int flags) -- cgit v1.2.3