X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Ftstwrbuf.c;h=52e2fbf2774df37344cea744347160c4b727fc1b;hb=0725af5d06bfcdaf9888886f04c63810c1d8cf72;hp=e1ed5f61342ce4b7aaeb0d26f381fb0e7113b2d8;hpb=8d691989077a0addcbd840d769dce6700f3d9622;p=yaz-moved-to-github.git diff --git a/test/tstwrbuf.c b/test/tstwrbuf.c index e1ed5f6..52e2fbf 100644 --- a/test/tstwrbuf.c +++ b/test/tstwrbuf.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2007, Index Data ApS * See the file LICENSE for details. * - * $Id: tstwrbuf.c,v 1.6 2007-01-03 08:42:16 adam Exp $ + * $Id: tstwrbuf.c,v 1.7 2007-03-19 14:40:07 adam Exp $ */ #include @@ -18,7 +18,7 @@ static void tstwrbuf(void) YAZ_CHECK(wr); - wrbuf_free(wr, 1); + wrbuf_destroy(wr); wr = wrbuf_alloc(); @@ -50,7 +50,7 @@ static void tstwrbuf(void) } wrbuf_rewind(wr); } - wrbuf_free(wr, 1); + wrbuf_destroy(wr); } int main (int argc, char **argv)