X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=test%2Ftstwrbuf.c;h=79e5388e84de8fc896b2ea89b71a3a000322ea89;hp=e1ed5f61342ce4b7aaeb0d26f381fb0e7113b2d8;hb=fde5f3463df4cdaf15ad7bb483a1758e1c8cd7b0;hpb=8d691989077a0addcbd840d769dce6700f3d9622 diff --git a/test/tstwrbuf.c b/test/tstwrbuf.c index e1ed5f6..79e5388 100644 --- a/test/tstwrbuf.c +++ b/test/tstwrbuf.c @@ -1,8 +1,6 @@ -/* - * Copyright (C) 1995-2007, Index Data ApS +/* This file is part of the YAZ toolkit. + * Copyright (C) 1995-2008 Index Data * See the file LICENSE for details. - * - * $Id: tstwrbuf.c,v 1.6 2007-01-03 08:42:16 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)