X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fnmem.c;h=ce08d99ed937edf80c020477e075b260ec6d174c;hb=be821514c869d68186361b5aab6bbfd1aa60e087;hp=b76c555d0dea540840128a376be4faaa2749499f;hpb=f25338b01de9ab9fb8dcc952b70b7b12b1e71c00;p=yaz-moved-to-github.git diff --git a/src/nmem.c b/src/nmem.c index b76c555..ce08d99 100644 --- a/src/nmem.c +++ b/src/nmem.c @@ -1,8 +1,8 @@ /* - * 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 $ */ /** @@ -27,7 +27,6 @@ #include #include #include -#include #ifdef WIN32 #include @@ -182,7 +181,7 @@ static int nmem_active_no = 0; 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 { @@ -499,7 +498,6 @@ void nmem_exit (void) { if (--nmem_init_flag == 0) { - oid_exit(); while (freelist) { struct nmem_block *fl = freelist;