X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Ftstwrbuf.c;h=e12ec84aca1f9e1a0f8d70a42e3f303ec85c986e;hb=3a54a02da2f546427c4e5fe57f952c97f54437ea;hp=5888afedd1ebbcc02028d3257efea98a9426e3f5;hpb=06ae818deffa84ec4bc1308051ef411845dd4ce5;p=yaz-moved-to-github.git diff --git a/test/tstwrbuf.c b/test/tstwrbuf.c index 5888afe..e12ec84 100644 --- a/test/tstwrbuf.c +++ b/test/tstwrbuf.c @@ -1,8 +1,6 @@ -/* - * Copyright (C) 1995-2005, Index Data ApS +/* This file is part of the YAZ toolkit. + * Copyright (C) 1995-2009 Index Data * See the file LICENSE for details. - * - * $Id: tstwrbuf.c,v 1.5 2006-01-29 21:59:13 adam Exp $ */ #include @@ -18,7 +16,7 @@ static void tstwrbuf(void) YAZ_CHECK(wr); - wrbuf_free(wr, 1); + wrbuf_destroy(wr); wr = wrbuf_alloc(); @@ -50,7 +48,7 @@ static void tstwrbuf(void) } wrbuf_rewind(wr); } - wrbuf_free(wr, 1); + wrbuf_destroy(wr); } int main (int argc, char **argv)