-/*
- * 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 <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)
/*
* Local variables:
* c-basic-offset: 4
+ * c-file-style: "Stroustrup"
* indent-tabs-mode: nil
* End:
* vim: shiftwidth=4 tabstop=8 expandtab