-/*
- * Copyright (C) 1995-2005, 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.5 2006-01-29 21:59:13 adam Exp $
*/
#include <stdlib.h>
YAZ_CHECK(wr);
- wrbuf_free(wr, 1);
+ wrbuf_destroy(wr);
wr = wrbuf_alloc();
}
wrbuf_rewind(wr);
}
- wrbuf_free(wr, 1);
+ wrbuf_destroy(wr);
}
int main (int argc, char **argv)