Updated WIN32 code specific sections. Changed header.
[idzebra-moved-to-github.git] / isam / isam.c
index eaffdbc..e2205b1 100644 (file)
@@ -1,10 +1,16 @@
 /*
- * Copyright (C) 1994-1997, Index Data I/S 
+ * Copyright (C) 1994-1999, Index Data
  * All rights reserved.
  * Sebastian Hammer, Adam Dickmeiss
  *
  * $Log: isam.c,v $
- * Revision 1.23  1997-09-17 12:19:20  adam
+ * Revision 1.25  1999-02-02 14:51:16  adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.24  1997/10/27 14:25:39  adam
+ * Fixed memory leaks.
+ *
+ * Revision 1.23  1997/09/17 12:19:20  adam
  * Zebra version corresponds to YAZ version 1.4.
  * Changed Zebra server so that it doesn't depend on global common_resource.
  *
@@ -375,6 +381,9 @@ int is_close(ISAM is)
            bf_close(is->types[i].bf);
        }
     }
+    for (i = 0; i < is->num_types; i++)
+       xfree (is->types[i].dbuf);
+
     if (is->writeflag)
     {
        logf(LOG_LOG, "ISAM statistics:");