X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=isamb%2Fbenchindex1.c;h=167a4ab9274bdd7e7d17b6a9ed04f37d0f68259c;hp=fc0e222758effe13ce0346c3278337920e610256;hb=a66b7d79383ae700f3358731eecfe2aafed0e90d;hpb=ae5c8868f2bee81cebddf3251432eb47c3da3591 diff --git a/isamb/benchindex1.c b/isamb/benchindex1.c index fc0e222..167a4ab 100644 --- a/isamb/benchindex1.c +++ b/isamb/benchindex1.c @@ -1,8 +1,5 @@ -/* $Id: benchindex1.c,v 1.8 2007-01-05 10:45:12 adam Exp $ - Copyright (C) 1995-2006 - Index Data ApS - -This file is part of the Zebra server. +/* This file is part of the Zebra server. + Copyright (C) 1994-2010 Index Data Zebra is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -490,7 +487,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); } @@ -651,6 +648,7 @@ int main(int argc, char **argv) /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab