WRBUF updates.
[idzebra-moved-to-github.git] / isamb / benchindex1.c
index fc0e222..e0de99d 100644 (file)
@@ -1,5 +1,5 @@
-/* $Id: benchindex1.c,v 1.8 2007-01-05 10:45:12 adam Exp $
-   Copyright (C) 1995-2006
+/* $Id: benchindex1.c,v 1.10 2007-03-19 21:50:39 adam Exp $
+   Copyright (C) 1995-2007
    Index Data ApS
 
 This file is part of the Zebra server.
@@ -490,7 +490,7 @@ void index_marc_from_file(ISAMB isb,
         index_block_check_flush(b, isb, dict, no_docs);
     }
     index_block_flush(b, isb, dict, no_docs);
-    wrbuf_free(wrbuf, 1);
+    wrbuf_destroy(wrbuf);
     yaz_marc_destroy(mt);
     index_block_destroy(&b);
 }