X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=index%2Fsgmlread.c;h=38fcbe3026ebb39ea2475ff856d41b9f82ff1ddf;hp=45680d0a839686c9a0e75c8bf8932f77188b1e7e;hb=78b13a3ac6a79768fb609c14db2a8e0c94a9c4da;hpb=89d3a004b7c651fd5673abfc192e1472dc4d4197 diff --git a/index/sgmlread.c b/index/sgmlread.c index 45680d0..38fcbe3 100644 --- a/index/sgmlread.c +++ b/index/sgmlread.c @@ -1,8 +1,5 @@ -/* $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 @@ -99,9 +96,9 @@ static void grs_destroy_sgml(void *clientData) { 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)