-/* $Id: sgmlread.c,v 1.4 2007-01-15 15:10:17 adam Exp $
- Copyright (C) 1995-2007
- Index Data ApS
-
-This file is part of the Zebra server.
+/* This file is part of the Zebra server.
+ Copyright (C) 1995-2008 Index Data
Zebra is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
{
struct sgml_getc_info *p = (struct sgml_getc_info *) clientData;
- wrbuf_free(p->wrbuf, 1);
- xfree (p->buf);
- xfree (p);
+ wrbuf_destroy(p->wrbuf);
+ xfree(p->buf);
+ xfree(p);
}
static int grs_extract_sgml(void *clientData, struct recExtractCtrl *ctrl)