X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=util%2Fnmem.c;fp=util%2Fnmem.c;h=ceb8210b47a7947cc86e2ea2fd93084c3d660749;hp=7e3fc1bbcb1cfc91815e47b3ce8096789a9328cd;hb=aa5f63565232666005bef5c83f2d500d8ce9dfb4;hpb=0de7ee46a77de43f2901103e317815e153efae62 diff --git a/util/nmem.c b/util/nmem.c index 7e3fc1b..ceb8210 100644 --- a/util/nmem.c +++ b/util/nmem.c @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: nmem.c,v $ - * Revision 1.26 2001-07-19 19:51:42 adam + * Revision 1.27 2001-09-27 12:09:18 adam + * Function nmem_exit calls oid_exit (when reference is 0). + * + * Revision 1.26 2001/07/19 19:51:42 adam * Added typecasts to make C++ happy. * * Revision 1.25 2001/06/26 14:11:27 adam @@ -104,6 +107,7 @@ #include #include #include +#include #ifdef WIN32 #include #elif _REENTRANT @@ -465,6 +469,7 @@ void nmem_exit (void) { if (--nmem_init_flag == 0) { + oid_exit(); while (freelist) { struct nmem_block *fl = freelist;