/*
- * Copyright (C) 1995-2006, Index Data ApS
+ * Copyright (C) 1995-2007, Index Data ApS
* See the file LICENSE for details.
*
- * $Id: nmem.c,v 1.26 2006-12-13 15:28:28 adam Exp $
+ * $Id: nmem.c,v 1.29 2007-04-12 13:52:57 adam Exp $
*/
/**
#include <yaz/xmalloc.h>
#include <yaz/nmem.h>
#include <yaz/log.h>
-#include <yaz/oid.h>
#ifdef WIN32
#include <windows.h>
static int nmem_init_flag = 0;
/** \brief whether nmem blocks should be reassigned to heap */
-static int nmem_release_in_heap = 1;
+static int nmem_release_in_heap = 0;
#if NMEM_DEBUG
struct nmem_debug_info {
{
if (--nmem_init_flag == 0)
{
- oid_exit();
while (freelist)
{
struct nmem_block *fl = freelist;