Oops, should have released this when we were done with it.
[asterisk/asterisk.git] / cdr / cdr_adaptive_odbc.c
index 7e5a7f8..c7a2826 100644 (file)
@@ -205,6 +205,7 @@ static int load_config(void)
                        res = 0;
                }
 
+               SQLFreeHandle(SQL_HANDLE_STMT, stmt);
                ast_odbc_release_obj(obj);
 
                if (AST_LIST_FIRST(&(tableptr->columns)))