Identifier-length and indicator-lenght no longer set to 2 (forced).
[yaz-moved-to-github.git] / util / nmem.c
index 61fe862..3dd212a 100644 (file)
@@ -4,7 +4,13 @@
  * Sebastian Hammer, Adam Dickmeiss
  *
  * $Log: nmem.c,v $
- * Revision 1.18  1999-08-27 09:40:32  adam
+ * Revision 1.20  2000-01-06 14:59:13  adam
+ * Added oid_init/oid_exit. Changed oid_exit.
+ *
+ * Revision 1.19  1999/11/30 13:47:12  adam
+ * Improved installation. Moved header files to include/yaz.
+ *
+ * Revision 1.18  1999/08/27 09:40:32  adam
  * Renamed logf function to yaz_log. Removed VC++ project files.
  *
  * Revision 1.17  1999/07/13 13:28:25  adam
@@ -74,9 +80,9 @@
 
 #include <assert.h>
 #include <string.h>
-#include <xmalloc.h>
-#include <nmem.h>
-#include <log.h>
+#include <yaz/xmalloc.h>
+#include <yaz/nmem.h>
+#include <yaz/log.h>
 #ifdef WIN32
 #include <windows.h>
 #elif _REENTRANT
@@ -382,6 +388,7 @@ void nmem_exit (void)
        cfreelist = cfreelist->next;
        xfree (cfl);
     }
+    nmem_init_flag = 0;
 #ifdef WIN32
     DeleteCriticalSection(&critical_section);
 #endif