X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=test%2Ftsticonv.c;h=37d3bbff0ab664cf779f908ffc4ed78ed91df729;hp=7fac3c54dacb3e4eaeb2df4fe4a21ca445d01615;hb=401da56d4a26f687cd42024bdef6f29a29bb7663;hpb=728ffb55e072933a1208780272e545c51f080e90 diff --git a/test/tsticonv.c b/test/tsticonv.c index 7fac3c5..37d3bbf 100644 --- a/test/tsticonv.c +++ b/test/tsticonv.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2007, Index Data ApS * See the file LICENSE for details. * - * $Id: tsticonv.c,v 1.27 2007-03-17 00:10:41 adam Exp $ + * $Id: tsticonv.c,v 1.28 2007-03-19 14:40:07 adam Exp $ */ #if HAVE_CONFIG_H @@ -110,7 +110,7 @@ static int tst_convert(yaz_iconv_t cd, const char *buf, const char *cmpbuf) ret = 1; else yaz_log(YLOG_LOG, "GOT (%.*s)", wrbuf_len(b), wrbuf_buf(b)); - wrbuf_free(b, 1); + wrbuf_destroy(b); return ret; }