Skip to content
Snippets Groups Projects
Commit 5a18fe24 authored by Russell Bryant's avatar Russell Bryant
Browse files

fix mem leak (bug #2940)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4333 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 5a3595c4
Branches
Tags
No related merge requests found
......@@ -161,6 +161,7 @@ static int odbc_log(struct ast_cdr *cdr)
if (option_verbose > 10)
ast_verbose( VERBOSE_PREFIX_4 "cdr_odbc: Query FAILED Call not logged!\n");
}
SQLFreeHandle(SQL_HANDLE_STMT, ODBC_stmt);
ast_mutex_unlock(&odbc_lock);
return 0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment