Fix compile warnings (bug #389)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1644 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2003-10-22 02:53:39 +00:00
parent 82d87fe9cc
commit 524c10a4c5
3 changed files with 4 additions and 4 deletions

View File

@@ -31,7 +31,7 @@ LOCAL_USER_DECL;
static int nocdr_exec(struct ast_channel *chan, void *data)
{
if (chan->cdr) {
free(chan->cdr);
ast_cdr_free(chan->cdr);
chan->cdr = NULL;
}
return 0;